admin
2022-04-29 67bdeebb4dc381a2f46f31e3027ebcc3243a8aeb
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
68
69
70
71
72
73
74
75
76
77
78
/// icon : "http://"
/// name : "名称"
/// process : "进度"
/// price : "单价"
/// actionName : "按钮名称"
/// active : true
/// jumpType : "baichuan"
 
class TaskListModel {
  TaskListModel({
    String? icon,
    String? name,
    String? process,
    int? price,
    String? priceUnit,
    String? actionName,
    bool? active,
    String? jumpType,
  }) {
    _icon = icon;
    _name = name;
    _process = process;
    _price = price;
    _priceUnit=priceUnit;
    _actionName = actionName;
    _active = active;
    _jumpType = jumpType;
  }
 
  TaskListModel.fromJson(dynamic json) {
    _icon = json['icon'];
    _name = json['name'];
    _process = json['process'];
    _price = json['price'];
    _priceUnit=json['priceUnit'];
    _actionName = json['actionName'];
    _active = json['active'];
    _jumpType = json['jumpType'];
  }
 
  String? _icon;
  String? _name;
  String? _process;
  int? _price;
  String? _priceUnit;
  String? _actionName;
  bool? _active;
  String? _jumpType;
 
  String? get icon => _icon;
 
  String? get name => _name;
 
  String? get process => _process;
 
  int? get price => _price;
 
  String? get priceUnit => _priceUnit;
 
  String? get actionName => _actionName;
 
  bool? get active => _active;
 
  String? get jumpType => _jumpType;
 
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['icon'] = _icon;
    map['name'] = _name;
    map['process'] = _process;
    map['price'] = _price;
    map['priceUnit'] = _priceUnit;
    map['actionName'] = _actionName;
    map['active'] = _active;
    map['jumpType'] = _jumpType;
    return map;
  }
}