@override Object toJson() => { if (valueSchema case final valueSchema?) 'valueSchema': valueSchema.toJson(), };