getAccountName method

String? getAccountName()

Gets the name of the account.

Implementation

String? getAccountName() {
  if (this.displayAccountName != "null" &&
      this.displayAccountName != null &&
      this.displayAccountName!.isNotEmpty) {
    return this.displayAccountName;
  } else {
    return this.accountName;
  }
}