TrackCountryAvailability.fromJson constructor

TrackCountryAvailability.fromJson(
  1. Map json_
)

Implementation

TrackCountryAvailability.fromJson(core.Map json_)
  : this(
      countries:
          (json_['countries'] as core.List?)
              ?.map(
                (value) => TrackTargetedCountry.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      restOfWorld: json_['restOfWorld'] as core.bool?,
      syncWithProduction: json_['syncWithProduction'] as core.bool?,
    );