VideoProperties.fromJson constructor

VideoProperties.fromJson(
  1. Map json_
)

Implementation

VideoProperties.fromJson(core.Map json_)
    : this(
        autoPlay: json_.containsKey('autoPlay')
            ? json_['autoPlay'] as core.bool
            : null,
        end: json_.containsKey('end') ? json_['end'] as core.int : null,
        mute: json_.containsKey('mute') ? json_['mute'] as core.bool : null,
        outline: json_.containsKey('outline')
            ? Outline.fromJson(
                json_['outline'] as core.Map<core.String, core.dynamic>)
            : null,
        start: json_.containsKey('start') ? json_['start'] as core.int : null,
      );