CampaignFlight.fromJson constructor

CampaignFlight.fromJson(
  1. Map json_
)

Implementation

CampaignFlight.fromJson(core.Map json_)
    : this(
        plannedDates: json_.containsKey('plannedDates')
            ? DateRange.fromJson(
                json_['plannedDates'] as core.Map<core.String, core.dynamic>)
            : null,
        plannedSpendAmountMicros:
            json_.containsKey('plannedSpendAmountMicros')
                ? json_['plannedSpendAmountMicros'] as core.String
                : null,
      );