Video.fromJson constructor

Video.fromJson(
  1. Map json_
)

Implementation

Video.fromJson(core.Map json_)
    : this(
        properties: json_.containsKey('properties')
            ? MediaProperties.fromJson(
                json_['properties'] as core.Map<core.String, core.dynamic>)
            : null,
        youtubeUri: json_.containsKey('youtubeUri')
            ? json_['youtubeUri'] as core.String
            : null,
      );