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.
51 lines
1.3 KiB
51 lines
1.3 KiB
/// name : "李旭清" |
|
/// position : "集团创始人" |
|
/// description : "1993年,台湾同胞李旭清在台湾创建“一心回乡”" |
|
/// imgUrl : "https://pos.upload.gznl.top/MDAwMA==/2021/07/3f169d8c-5cb8-4789-a8f6-f2ce17277106.webp" |
|
/// profile : "<p><img class=\"wscnph\" src=\"https://pos.upload.gznl.top/MDAwMA==/2021/07/bdc0705d-7aa0-4677-a282-81d1b8a56e4b.webp\" /></p>" |
|
|
|
class Founder { |
|
String _name; |
|
String _position; |
|
String _description; |
|
String _imgUrl; |
|
String _profile; |
|
|
|
String get name => _name; |
|
String get position => _position; |
|
String get description => _description; |
|
String get imgUrl => _imgUrl; |
|
String get profile => _profile; |
|
|
|
Founder({ |
|
String name, |
|
String position, |
|
String description, |
|
String imgUrl, |
|
String profile}){ |
|
_name = name; |
|
_position = position; |
|
_description = description; |
|
_imgUrl = imgUrl; |
|
_profile = profile; |
|
} |
|
|
|
Founder.fromJson(dynamic json) { |
|
_name = json["name"]; |
|
_position = json["position"]; |
|
_description = json["description"]; |
|
_imgUrl = json["imgUrl"]; |
|
_profile = json["profile"]; |
|
} |
|
|
|
Map<String, dynamic> toJson() { |
|
var map = <String, dynamic>{}; |
|
map["name"] = _name; |
|
map["position"] = _position; |
|
map["description"] = _description; |
|
map["imgUrl"] = _imgUrl; |
|
map["profile"] = _profile; |
|
return map; |
|
} |
|
|
|
} |