SharedProfileInfo.fromJson constructor

SharedProfileInfo.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory SharedProfileInfo.fromJson(Map<String, Object?> json) {
  return SharedProfileInfo(
    id: _stringValue(json["id"]),
    firstName: _nullableString(json["first_name"]),
    lastName: _nullableString(json["last_name"]),
    email: _nullableString(json["email"]),
  );
}