toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'old_password'] = this.oldPassword;
  json[r'new_password1'] = this.newPassword1;
  json[r'new_password2'] = this.newPassword2;
  return json;
}