AuthProfile.fromJson constructor

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

Implementation

factory AuthProfile.fromJson(Map<String, dynamic> json) => AuthProfile(
      userId: json["sub"],
      email: json["email"],
      name: json["name"],
      pictureUrl: json["picture"],
    );