DataCatalog.fromJson constructor

DataCatalog.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DataCatalog.fromJson(Map<String, dynamic> json) {
  return DataCatalog(
    name: json['Name'] as String,
    type: (json['Type'] as String).toDataCatalogType(),
    description: json['Description'] as String?,
    parameters: (json['Parameters'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}