ListPlaybackConfigurationsResponse.fromJson constructor

ListPlaybackConfigurationsResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListPlaybackConfigurationsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListPlaybackConfigurationsResponse(
    items: (json['Items'] as List?)
        ?.whereNotNull()
        .map((e) => PlaybackConfiguration.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}