toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final catalogId = this.catalogId;
  final databaseName = this.databaseName;
  final region = this.region;
  final roleARN = this.roleARN;
  final tableName = this.tableName;
  final versionId = this.versionId;
  return {
    if (catalogId != null) 'CatalogId': catalogId,
    if (databaseName != null) 'DatabaseName': databaseName,
    if (region != null) 'Region': region,
    if (roleARN != null) 'RoleARN': roleARN,
    if (tableName != null) 'TableName': tableName,
    if (versionId != null) 'VersionId': versionId,
  };
}