User.fromJson constructor

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

Implementation

factory User.fromJson(Map<String, dynamic> json) => User(
      photourl: json["photourl"],
      localizedheadline: json["localizedheadline"],
      id: json["id"],
      name: json["name"],
    );