ChatUser.fromJson constructor

ChatUser.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ChatUser.fromJson(Map<String, dynamic> json) => ChatUser(
      id: json["id"],
      name: json["name"],
      profilePhoto: json["profilePhoto"],
    );