myfollowing_list_entity.dart 611 B

12345678910111213141516171819202122
  1. import 'package:domain/generated/json/base/json_field.dart';
  2. import 'package:domain/generated/json/myfollowing_list_entity.g.dart';
  3. import 'dart:convert';
  4. export 'package:domain/generated/json/myfollowing_list_entity.g.dart';
  5. @JsonSerializable()
  6. class MyfollowingListEntity {
  7. int? id;
  8. String? name;
  9. String? avatar;
  10. MyfollowingListEntity();
  11. factory MyfollowingListEntity.fromJson(Map<String, dynamic> json) => $MyfollowingListEntityFromJson(json);
  12. Map<String, dynamic> toJson() => $MyfollowingListEntityToJson(this);
  13. @override
  14. String toString() {
  15. return jsonEncode(this);
  16. }
  17. }