toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountName != null) 'accountName': accountName!,
      if (accountNumber != null) 'accountNumber': accountNumber!,
      if (name != null) 'name': name!,
      if (organizationInfo != null) 'organizationInfo': organizationInfo!,
      if (permissionLevel != null) 'permissionLevel': permissionLevel!,
      if (primaryOwner != null) 'primaryOwner': primaryOwner!,
      if (role != null) 'role': role!,
      if (type != null) 'type': type!,
      if (verificationState != null) 'verificationState': verificationState!,
      if (vettedState != null) 'vettedState': vettedState!,
    };