DataSourceSheetProperties.fromJson constructor

DataSourceSheetProperties.fromJson(
  1. Map json_
)

Implementation

DataSourceSheetProperties.fromJson(core.Map json_)
    : this(
        columns: json_.containsKey('columns')
            ? (json_['columns'] as core.List)
                .map((value) => DataSourceColumn.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        dataExecutionStatus: json_.containsKey('dataExecutionStatus')
            ? DataExecutionStatus.fromJson(json_['dataExecutionStatus']
                as core.Map<core.String, core.dynamic>)
            : null,
        dataSourceId: json_.containsKey('dataSourceId')
            ? json_['dataSourceId'] as core.String
            : null,
      );