getPlaybackConfiguration method

Future<GetPlaybackConfigurationResponse> getPlaybackConfiguration({
  1. required String name,
})

Returns the playback configuration for the specified name.

Parameter name : The identifier for the playback configuration.

Implementation

Future<GetPlaybackConfigurationResponse> getPlaybackConfiguration({
  required String name,
}) async {
  ArgumentError.checkNotNull(name, 'name');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/playbackConfiguration/${Uri.encodeComponent(name)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetPlaybackConfigurationResponse.fromJson(response);
}