User.fromJson constructor

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

Implementation

User.fromJson(Map<String, dynamic> json) {
  id = json["id"];
  username = json["username"];
  email = json["email"];
  gender = json["gender"];

  birth = json["birth"];
  phone = json["phone"];
  area = json["area"];
  addr = json["addr"];
}