Blame view

lib/generated/json/follow_read_entity.g.dart 2.23 KB
6f617434   liangchengyou   feat:磨耳朵/视频跟读列表页接口调整
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
  import 'package:wow_english/generated/json/base/json_convert_content.dart';
  import 'package:wow_english/models/follow_read_entity.dart';
  
  FollowReadEntity $FollowReadEntityFromJson(Map<String, dynamic> json) {
  	final FollowReadEntity followReadEntity = FollowReadEntity();
  	final String? coverUrl = jsonConvert.convert<String>(json['coverUrl']);
  	if (coverUrl != null) {
  		followReadEntity.coverUrl = coverUrl;
  	}
  	final String? createTime = jsonConvert.convert<String>(json['createTime']);
  	if (createTime != null) {
  		followReadEntity.createTime = createTime;
  	}
  	final String? deleted = jsonConvert.convert<String>(json['deleted']);
  	if (deleted != null) {
  		followReadEntity.deleted = deleted;
  	}
  	final String? id = jsonConvert.convert<String>(json['id']);
  	if (id != null) {
  		followReadEntity.id = id;
  	}
  	final bool? lock = jsonConvert.convert<bool>(json['lock']);
  	if (lock != null) {
  		followReadEntity.lock = lock;
  	}
  	final String? modifyTime = jsonConvert.convert<String>(json['modifyTime']);
  	if (modifyTime != null) {
  		followReadEntity.modifyTime = modifyTime;
  	}
  	final int? sortOrder = jsonConvert.convert<int>(json['sortOrder']);
  	if (sortOrder != null) {
  		followReadEntity.sortOrder = sortOrder;
  	}
  	final int? star = jsonConvert.convert<int>(json['star']);
  	if (star != null) {
  		followReadEntity.star = star;
  	}
  	final int? status = jsonConvert.convert<int>(json['status']);
  	if (status != null) {
  		followReadEntity.status = status;
  	}
  	final String? title = jsonConvert.convert<String>(json['title']);
  	if (title != null) {
  		followReadEntity.title = title;
  	}
  	final int? videoTotal = jsonConvert.convert<int>(json['videoTotal']);
  	if (videoTotal != null) {
  		followReadEntity.videoTotal = videoTotal;
  	}
  	return followReadEntity;
  }
  
  Map<String, dynamic> $FollowReadEntityToJson(FollowReadEntity entity) {
  	final Map<String, dynamic> data = <String, dynamic>{};
  	data['coverUrl'] = entity.coverUrl;
  	data['createTime'] = entity.createTime;
  	data['deleted'] = entity.deleted;
  	data['id'] = entity.id;
  	data['lock'] = entity.lock;
  	data['modifyTime'] = entity.modifyTime;
  	data['sortOrder'] = entity.sortOrder;
  	data['star'] = entity.star;
  	data['status'] = entity.status;
  	data['title'] = entity.title;
  	data['videoTotal'] = entity.videoTotal;
  	return data;
  }