VideoAdSequenceSettings.fromJson constructor

VideoAdSequenceSettings.fromJson(
  1. Map json_
)

Implementation

VideoAdSequenceSettings.fromJson(core.Map json_)
    : this(
        minimumDuration: json_.containsKey('minimumDuration')
            ? json_['minimumDuration'] as core.String
            : null,
        steps: json_.containsKey('steps')
            ? (json_['steps'] as core.List)
                .map((value) => VideoAdSequenceStep.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );