getFullName method

String getFullName()

Get the full name (firstName + lastName) of the user

Implementation

String getFullName() {
  return (firstName ?? '') +
      (firstName != null && lastName != null
          ? ' ${lastName!}'
          : lastName ?? '');
}