toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (maxImpressions != null) 'maxImpressions': maxImpressions!,
      if (maxViews != null) 'maxViews': maxViews!,
      if (timeUnit != null) 'timeUnit': timeUnit!,
      if (timeUnitCount != null) 'timeUnitCount': timeUnitCount!,
      if (unlimited != null) 'unlimited': unlimited!,
    };