initials method

String initials()

Implementation

String initials() {
  return ((givenName?.isNotEmpty == true ? givenName![0] : "") +
          (familyName?.isNotEmpty == true ? familyName![0] : ""))
      .toUpperCase();
}