toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final databaseName = this.databaseName;
  final dimensions = this.dimensions;
  final roleArn = this.roleArn;
  final tableName = this.tableName;
  final timestamp = this.timestamp;
  return {
    'databaseName': databaseName,
    'dimensions': dimensions,
    'roleArn': roleArn,
    'tableName': tableName,
    if (timestamp != null) 'timestamp': timestamp,
  };
}