ChangePassword constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const ChangePassword({
  1. required String newPassword,
  2. required String newPasswordVerify,
  3. required String oldPassword,
  4. required String auth,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory ChangePassword({
  required String newPassword,
  required String newPasswordVerify,
  required String oldPassword,
  required String auth,
}) = _ChangePassword;