TableResource.fromJson constructor

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

Implementation

factory TableResource.fromJson(Map<String, dynamic> json) {
  return TableResource(
    databaseName: json['DatabaseName'] as String,
    catalogId: json['CatalogId'] as String?,
    name: json['Name'] as String?,
    tableWildcard: json['TableWildcard'] != null
        ? TableWildcard.fromJson(
            json['TableWildcard'] as Map<String, dynamic>)
        : null,
  );
}