toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final databaseName = this.databaseName;
  final tableName = this.tableName;
  final catalogId = this.catalogId;
  final connectionName = this.connectionName;
  return {
    'DatabaseName': databaseName,
    'TableName': tableName,
    if (catalogId != null) 'CatalogId': catalogId,
    if (connectionName != null) 'ConnectionName': connectionName,
  };
}