ProgrammaticGuaranteedTerms.fromJson constructor

ProgrammaticGuaranteedTerms.fromJson(
  1. Map json_
)

Implementation

ProgrammaticGuaranteedTerms.fromJson(core.Map json_)
  : this(
      fixedPrice:
          json_.containsKey('fixedPrice')
              ? Price.fromJson(
                json_['fixedPrice'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      guaranteedLooks: json_['guaranteedLooks'] as core.String?,
      impressionCap: json_['impressionCap'] as core.String?,
      minimumDailyLooks: json_['minimumDailyLooks'] as core.String?,
      percentShareOfVoice: json_['percentShareOfVoice'] as core.String?,
      reservationType: json_['reservationType'] as core.String?,
    );