You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
356B

  1. import 'package:json_annotation/json_annotation.dart';
  2. part 'password.g.dart';
  3. @JsonSerializable()
  4. class Password {
  5. Password();
  6. String key;
  7. String currentPassword;
  8. String newPassword;
  9. factory Password.fromJson(Map<String,dynamic> json) => _$PasswordFromJson(json);
  10. Map<String, dynamic> toJson() => _$PasswordToJson(this);
  11. }