ZegoUIKitUser.fromJson constructor

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

Implementation

factory ZegoUIKitUser.fromJson(Map<String, dynamic> json) {
  return ZegoUIKitUser(
    id: json['id'] ?? '',
    name: json['name'] ?? '',
  );
}