required property

bool required

Whether the node is required.

Implementation

bool get required => _properties['required'] as bool? ?? false;