ChannelSectionContentDetails.fromJson constructor

ChannelSectionContentDetails.fromJson(
  1. Map json_
)

Implementation

ChannelSectionContentDetails.fromJson(core.Map json_)
    : this(
        channels: json_.containsKey('channels')
            ? (json_['channels'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        playlists: json_.containsKey('playlists')
            ? (json_['playlists'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );