AllOf constructor

const AllOf(
  1. Iterable<OvO> schemas, [
  2. String? message
])

Creates a new instance of AllOf.

The schemas parameter is an iterable of OvO schemas that need to be validated. The message parameter is the message that will be thrown when validation fails.

Implementation

const AllOf(this.schemas, [this.message]);