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.1 KiB

/// description : ""
/// imgUrl : ""
/// name : ""
/// position : ""
/// profile : ""
class Founder {
String _description;
String _imgUrl;
String _name;
String _position;
String _profile;
String get description => _description;
String get imgUrl => _imgUrl;
String get name => _name;
String get position => _position;
String get profile => _profile;
Founder({
String description,
String imgUrl,
String name,
String position,
String profile}){
_description = description;
_imgUrl = imgUrl;
_name = name;
_position = position;
_profile = profile;
}
Founder.fromJson(dynamic json) {
_description = json["description"];
_imgUrl = json["imgUrl"];
_name = json["name"];
_position = json["position"];
_profile = json["profile"];
}
Map<String, dynamic> toJson() {
var map = <String, dynamic>{};
map["description"] = _description;
map["imgUrl"] = _imgUrl;
map["name"] = _name;
map["position"] = _position;
map["profile"] = _profile;
return map;
}
}