DatasourceDimension.fromJson constructor

DatasourceDimension.fromJson(
  1. JSONMap json
)

Implementation

factory DatasourceDimension.fromJson(JSONMap json) => DatasourceDimension(
      id: json["id"],
      datasourceId: json["datasourceId"],
      name: json["name"],
      entryValue: json["entryValue"],
      createdAt: DateTime.parse(json["createdAt"]),
      updatedAt: DateTime.parse(json["updatedAt"]),
    );