getFullName method
Get the full name (firstName + lastName) of the user
Implementation
String getFullName() {
return (firstName ?? '') +
(firstName != null && lastName != null
? ' ${lastName!}'
: lastName ?? '');
}
Get the full name (firstName + lastName) of the user
String getFullName() {
return (firstName ?? '') +
(firstName != null && lastName != null
? ' ${lastName!}'
: lastName ?? '');
}