get static method

Future<UserProfile> get(
  1. GarthClient client
)

Implementation

static Future<UserProfile> get(GarthClient client) async {
  final profile = await client.connectapi(
    "/userprofile-service/socialProfile",
  );
  return UserProfile.fromJson(profile as Map<String, dynamic>);
}