toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (addressData != null) 'addressData': addressData!,
      if (announcement != null) 'announcement': announcement!,
      if (emailData != null) 'emailData': emailData!,
      if (phoneNumber != null) 'phoneNumber': phoneNumber!,
      if (verificationMethod != null)
        'verificationMethod': verificationMethod!,
    };