Report.fromJson constructor

Report.fromJson(
  1. Map json_
)

Implementation

Report.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : null,
        criteria: json_.containsKey('criteria')
            ? ReportCriteria.fromJson(
                json_['criteria'] as core.Map<core.String, core.dynamic>)
            : null,
        crossDimensionReachCriteria:
            json_.containsKey('crossDimensionReachCriteria')
                ? ReportCrossDimensionReachCriteria.fromJson(
                    json_['crossDimensionReachCriteria']
                        as core.Map<core.String, core.dynamic>)
                : null,
        delivery: json_.containsKey('delivery')
            ? ReportDelivery.fromJson(
                json_['delivery'] as core.Map<core.String, core.dynamic>)
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        fileName: json_.containsKey('fileName')
            ? json_['fileName'] as core.String
            : null,
        floodlightCriteria: json_.containsKey('floodlightCriteria')
            ? ReportFloodlightCriteria.fromJson(json_['floodlightCriteria']
                as core.Map<core.String, core.dynamic>)
            : null,
        format: json_.containsKey('format')
            ? json_['format'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        lastModifiedTime: json_.containsKey('lastModifiedTime')
            ? json_['lastModifiedTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        ownerProfileId: json_.containsKey('ownerProfileId')
            ? json_['ownerProfileId'] as core.String
            : null,
        pathAttributionCriteria: json_.containsKey('pathAttributionCriteria')
            ? ReportPathAttributionCriteria.fromJson(
                json_['pathAttributionCriteria']
                    as core.Map<core.String, core.dynamic>)
            : null,
        pathCriteria: json_.containsKey('pathCriteria')
            ? ReportPathCriteria.fromJson(
                json_['pathCriteria'] as core.Map<core.String, core.dynamic>)
            : null,
        pathToConversionCriteria:
            json_.containsKey('pathToConversionCriteria')
                ? ReportPathToConversionCriteria.fromJson(
                    json_['pathToConversionCriteria']
                        as core.Map<core.String, core.dynamic>)
                : null,
        reachCriteria: json_.containsKey('reachCriteria')
            ? ReportReachCriteria.fromJson(
                json_['reachCriteria'] as core.Map<core.String, core.dynamic>)
            : null,
        schedule: json_.containsKey('schedule')
            ? ReportSchedule.fromJson(
                json_['schedule'] as core.Map<core.String, core.dynamic>)
            : null,
        subAccountId: json_.containsKey('subAccountId')
            ? json_['subAccountId'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );