get static method

Future<UserSettings> get({
  1. GarthClient? client,
})

Implementation

static Future<UserSettings> get({GarthClient? client}) async {
  client ??= garth;
  final settings = await client.connectapi(
    "/userprofile-service/userprofile/user-settings",
  );
  return UserSettings.fromJson(settings as Map<String, dynamic>);
}