Datasource.fromJson constructor
Datasource.fromJson(
- JSONMap json
Implementation
factory Datasource.fromJson(JSONMap json) => Datasource(
id: json["id"],
name: json["name"],
slug: json["slug"],
dimensions: List<JSONMap>.from(json["dimensions"]).map(DatasourceDimension.fromJson).toList(),
);