PEUsers.fromJson constructor

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

Implementation

PEUsers.fromJson(Map<String, dynamic> json) {
  if (json["id"] is int) this.id = json["id"];
  if (json["displayName"] is String) this.displayName = json["displayName"];
  if (json["thumbnail"] is String) this.thumbnail = json["thumbnail"];
}