fullName property
String
get
fullName
Returns the person's full name with space between first and last name
Implementation
String get fullName => "${this.firstName} ${this.lastName}";
Returns the person's full name with space between first and last name
String get fullName => "${this.firstName} ${this.lastName}";