toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final registryName = this.registryName;
  final schemaArn = this.schemaArn;
  final schemaName = this.schemaName;
  return {
    if (registryName != null) 'RegistryName': registryName,
    if (schemaArn != null) 'SchemaArn': schemaArn,
    if (schemaName != null) 'SchemaName': schemaName,
  };
}