loadTrack method

Future<LoadResult> loadTrack(
  1. String identifier
)

Load one or more tracks from an identifier.

Implementation

Future<LoadResult> loadTrack(String identifier) async {
  final response = jsonDecode(await _executeSafe(
    'GET',
    '/v4/loadtracks',
    queryParameters: {'identifier': identifier},
  ));
  return LoadResult.fromJson(response as Map<String, Object?>);
}