captcha_img_entity.dart 566 B

12345678910111213141516171819202122
  1. import 'package:domain/generated/json/base/json_field.dart';
  2. import 'package:domain/generated/json/captcha_img_entity.g.dart';
  3. import 'dart:convert';
  4. export 'package:domain/generated/json/captcha_img_entity.g.dart';
  5. @JsonSerializable()
  6. class CaptchaImgEntity {
  7. bool sensitive = false;
  8. String? key;
  9. String? img;
  10. CaptchaImgEntity();
  11. factory CaptchaImgEntity.fromJson(Map<String, dynamic> json) => $CaptchaImgEntityFromJson(json);
  12. Map<String, dynamic> toJson() => $CaptchaImgEntityToJson(this);
  13. @override
  14. String toString() {
  15. return jsonEncode(this);
  16. }
  17. }