Listing.fromJson constructor

Listing.fromJson(
  1. Map json_
)

Implementation

Listing.fromJson(core.Map json_)
    : this(
        bigqueryDataset: json_.containsKey('bigqueryDataset')
            ? BigQueryDatasetSource.fromJson(json_['bigqueryDataset']
                as core.Map<core.String, core.dynamic>)
            : null,
        categories: json_.containsKey('categories')
            ? (json_['categories'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        dataProvider: json_.containsKey('dataProvider')
            ? DataProvider.fromJson(
                json_['dataProvider'] as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        documentation: json_.containsKey('documentation')
            ? json_['documentation'] as core.String
            : null,
        icon: json_.containsKey('icon') ? json_['icon'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        primaryContact: json_.containsKey('primaryContact')
            ? json_['primaryContact'] as core.String
            : null,
        publisher: json_.containsKey('publisher')
            ? Publisher.fromJson(
                json_['publisher'] as core.Map<core.String, core.dynamic>)
            : null,
        requestAccess: json_.containsKey('requestAccess')
            ? json_['requestAccess'] as core.String
            : null,
        restrictedExportConfig: json_.containsKey('restrictedExportConfig')
            ? RestrictedExportConfig.fromJson(json_['restrictedExportConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );