toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var emailAddress = this.emailAddress;
  var emailAddressStatus = this.emailAddressStatus;

  final json = <String, Object?>{};
  if (emailAddress != null) {
    json[r'emailAddress'] = emailAddress;
  }
  json[r'emailAddressStatus'] = emailAddressStatus;
  return json;
}