fullName property

String get fullName

Implementation

String get fullName {
  if (profile.firstName.isNotEmpty) {
    var res = profile.firstName;
    if (profile.lastName.isNotEmpty) res += ' ' + profile.lastName;
    return res;
  }
  return username;
}