getPterodactylUser method

Future<UserConfig> getPterodactylUser()

@throws ConfigNotFoundException Works if not logged in

Implementation

Future<UserConfig> getPterodactylUser() async {
  final json =
      await _parseScriptTagsForJson(SiteConfigOption.PterodactylUser);
  return UserConfig.fromJson(json);
}