getAudioInfo method

Future<AudioStatus> getAudioInfo(
  1. String audioId
)

Implementation

Future<AudioStatus> getAudioInfo(String audioId) =>
    http.get(Uri.parse("$GET_AUDIO_INFO/$audioId?add_audio_url=true"), headers: {
      'api-key': apiKey!
    }).then((r) => Audio.fromJson(json.decode(r.body)).toStatus);