oneOf property

List<Schema>? get oneOf

Schema combinator that requires exactly one of the sub-schemas to match.

Implementation

List<Schema>? get oneOf => (_value['oneOf'] as List?)?.cast<Schema>();