ChatMemberProfile.fromJson constructor

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

Implementation

factory ChatMemberProfile.fromJson(Map<String, dynamic> json) {
  return ChatMemberProfile(
    address: json['address'],
    intent: json['intent'],
    role: json['role'],
    userInfo:
        json['userInfo'] == null ? null : UserV2.fromJson(json['userInfo']),
  );
}