AdUnitContentAdsSettings.fromJson constructor

AdUnitContentAdsSettings.fromJson(
  1. Map json_
)

Implementation

AdUnitContentAdsSettings.fromJson(core.Map json_)
    : this(
        backupOption: json_.containsKey('backupOption')
            ? AdUnitContentAdsSettingsBackupOption.fromJson(
                json_['backupOption'] as core.Map<core.String, core.dynamic>)
            : null,
        size: json_.containsKey('size') ? json_['size'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );