ReportsConfiguration.fromJson constructor

ReportsConfiguration.fromJson(
  1. Map json_
)

Implementation

ReportsConfiguration.fromJson(core.Map json_)
    : this(
        exposureToConversionEnabled:
            json_.containsKey('exposureToConversionEnabled')
                ? json_['exposureToConversionEnabled'] as core.bool
                : null,
        lookbackConfiguration: json_.containsKey('lookbackConfiguration')
            ? LookbackConfiguration.fromJson(json_['lookbackConfiguration']
                as core.Map<core.String, core.dynamic>)
            : null,
        reportGenerationTimeZoneId:
            json_.containsKey('reportGenerationTimeZoneId')
                ? json_['reportGenerationTimeZoneId'] as core.String
                : null,
      );