DataSourceSpec.fromJson constructor

DataSourceSpec.fromJson(
  1. Map json_
)

Implementation

DataSourceSpec.fromJson(core.Map json_)
    : this(
        bigQuery: json_.containsKey('bigQuery')
            ? BigQueryDataSourceSpec.fromJson(
                json_['bigQuery'] as core.Map<core.String, core.dynamic>)
            : null,
        parameters: json_.containsKey('parameters')
            ? (json_['parameters'] as core.List)
                .map((value) => DataSourceParameter.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );