ReportHeader.fromJson constructor

ReportHeader.fromJson(
  1. Map json_
)

Implementation

ReportHeader.fromJson(core.Map json_)
    : this(
        dateRange: json_.containsKey('dateRange')
            ? DateRange.fromJson(
                json_['dateRange'] as core.Map<core.String, core.dynamic>)
            : null,
        localizationSettings: json_.containsKey('localizationSettings')
            ? LocalizationSettings.fromJson(json_['localizationSettings']
                as core.Map<core.String, core.dynamic>)
            : null,
        reportingTimeZone: json_.containsKey('reportingTimeZone')
            ? json_['reportingTimeZone'] as core.String
            : null,
      );