ReportMetadata.fromJson constructor

ReportMetadata.fromJson(
  1. Map json_
)

Implementation

ReportMetadata.fromJson(core.Map json_)
    : this(
        googleCloudStoragePath: json_.containsKey('googleCloudStoragePath')
            ? json_['googleCloudStoragePath'] as core.String
            : null,
        reportDataEndDate: json_.containsKey('reportDataEndDate')
            ? Date.fromJson(json_['reportDataEndDate']
                as core.Map<core.String, core.dynamic>)
            : null,
        reportDataStartDate: json_.containsKey('reportDataStartDate')
            ? Date.fromJson(json_['reportDataStartDate']
                as core.Map<core.String, core.dynamic>)
            : null,
        status: json_.containsKey('status')
            ? ReportStatus.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
      );