VideoContent.fromJson constructor

VideoContent.fromJson(
  1. Map json_
)

Implementation

VideoContent.fromJson(core.Map json_)
    : this(
        videoMetadata: json_.containsKey('videoMetadata')
            ? VideoMetadata.fromJson(
                json_['videoMetadata'] as core.Map<core.String, core.dynamic>)
            : null,
        videoUrl: json_.containsKey('videoUrl')
            ? json_['videoUrl'] as core.String
            : null,
        videoVastXml: json_.containsKey('videoVastXml')
            ? json_['videoVastXml'] as core.String
            : null,
      );