SkippableSetting.fromJson constructor

SkippableSetting.fromJson(
  1. Map json_
)

Implementation

SkippableSetting.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        progressOffset: json_.containsKey('progressOffset')
            ? VideoOffset.fromJson(json_['progressOffset']
                as core.Map<core.String, core.dynamic>)
            : null,
        skipOffset: json_.containsKey('skipOffset')
            ? VideoOffset.fromJson(
                json_['skipOffset'] as core.Map<core.String, core.dynamic>)
            : null,
        skippable: json_.containsKey('skippable')
            ? json_['skippable'] as core.bool
            : null,
      );