YIMUser.fromJson constructor

YIMUser.fromJson(
  1. Map<String, dynamic> map
)

Implementation

YIMUser.fromJson(Map<String, dynamic> map) {
  id = map["id"]?.toString() ?? "";
  name = map["name"]?.toString() ?? "";
  icon = map["icon"]?.toString() ?? "";
  ext = map["ext"]?.toString() ?? "";
}