PlaylistImageSnippet.fromJson constructor

PlaylistImageSnippet.fromJson(
  1. Map json_
)

Implementation

PlaylistImageSnippet.fromJson(core.Map json_)
    : this(
        height:
            json_.containsKey('height') ? json_['height'] as core.int : null,
        playlistId: json_.containsKey('playlistId')
            ? json_['playlistId'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        width: json_.containsKey('width') ? json_['width'] as core.int : null,
      );