InStreamAd.fromJson constructor

InStreamAd.fromJson(
  1. Map json_
)

Implementation

InStreamAd.fromJson(core.Map json_)
    : this(
        commonInStreamAttribute: json_.containsKey('commonInStreamAttribute')
            ? CommonInStreamAttribute.fromJson(
                json_['commonInStreamAttribute']
                    as core.Map<core.String, core.dynamic>)
            : null,
        customParameters: json_.containsKey('customParameters')
            ? (json_['customParameters']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );