FriendModel.fromMap constructor

FriendModel.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory FriendModel.fromMap(Map<String, dynamic> json) => FriendModel(
      id: json["id"],
      name: json["full_name"],
      profileImage: json["profile_image"],
      isFollow: json["is_follow"],
      isPrivateAccount: json["is_private_account"],
      buttonStatus: json["button_status"],
      friendFollow: json["friend_follow"],
    );