ProjectProductInfo.fromJson constructor

ProjectProductInfo.fromJson(
  1. Map<String, dynamic> jsonSerialization
)

Implementation

factory ProjectProductInfo.fromJson(Map<String, dynamic> jsonSerialization) {
  return ProjectProductInfo(
    productId: jsonSerialization['productId'] as String,
    name: jsonSerialization['name'] as String,
    description: jsonSerialization['description'] as String,
    computeCatalog: _i4.Protocol().deserialize<_i2.ComputeCatalogInfo>(
      jsonSerialization['computeCatalog'],
    ),
    databaseCatalog: _i4.Protocol().deserialize<_i3.DatabaseCatalogInfo>(
      jsonSerialization['databaseCatalog'],
    ),
  );
}