ListDataSourcesResponse.fromJson constructor

ListDataSourcesResponse.fromJson(
  1. Map json_
)

Implementation

ListDataSourcesResponse.fromJson(core.Map json_)
    : this(
        dataSource: json_.containsKey('dataSource')
            ? (json_['dataSource'] as core.List)
                .map((value) => DataSource.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );