oneOf property

  1. @override
List<DataSchema>? get oneOf
override

Allows the specification of multiple DataSchemas for validation.

Data has to be valid against exactly one of these DataSchemas.

Implementation

@override
List<DataSchema>? get oneOf => dataSchema.oneOf;