toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "id": this.id,
  "username": reVal(this.username),
  "email": reVal(this.email),
  "gender": this.gender,
  "birth": this.birth,
  "phone": reVal(this.phone?.replaceAll("-", "")),
  "area": reVal(this.area),
  "addr": reVal(this.addr),
};