TUIRequest.fromJson constructor

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

Implementation

TUIRequest.fromJson(Map<String, dynamic> json) {
  requestId = json["request_id"];
  requestAction = TUIRequestActionExt.fromValue(json["request_action"]);
  userId = json["user_id"];
  userName = json["user_name"];
  nameCard = json["name_card"];
  avatarUrl = json["avatar_url"];
  content = json["content"];
  timestamp = json["timestamp"];
}