toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json[r'current_service'] = currentService;
  _json[r'new_service'] = newService;
  if (email != null) {
    _json[r'email'] = email;
  }
  if (password != null) {
    _json[r'password'] = password;
  }
  if (mfaCode != null) {
    _json[r'mfa_code'] = mfaCode;
  }
  if (ldapId != null) {
    _json[r'ldap_id'] = ldapId;
  }
  return _json;
}