VideoItem.fromJson constructor

VideoItem.fromJson(
  1. Map json_
)

Implementation

VideoItem.fromJson(core.Map json_)
    : this(
        caption: json_.containsKey('caption')
            ? json_['caption'] as core.String
            : null,
        video: json_.containsKey('video')
            ? Video.fromJson(
                json_['video'] as core.Map<core.String, core.dynamic>)
            : null,
      );