mirrored_repositories/Taskito/lib
class PersonDetail {
  String imageUrl;
  String name;

  PersonDetail({this.imageUrl, this.name});

  PersonDetail.fromJson(Map<String, dynamic> json) {
    imageUrl = json['image_url'];
    name = json['name'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['image_url'] = this.imageUrl;
    data['name'] = this.name;
    return data;
  }
}