CatalogTarget.fromJson constructor

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

Implementation

factory CatalogTarget.fromJson(Map<String, dynamic> json) {
  return CatalogTarget(
    databaseName: json['DatabaseName'] as String,
    tables: (json['Tables'] as List)
        .whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}