isValid property

bool get isValid

Whether the node satisfied the schema type.

Implementation

bool get isValid => errors.isEmpty;