MissingRequiredPropertiesException class

Exception thrown when required properties are not found.

Typically used by ConfigurablePropertyResolver during validation.

{@macro configurable_property_resolver_set} {@macro configurable_property_resolver_validate}

See also:

Inheritance
Implemented types

Properties

cause Object?
The underlying cause of this exception, if any.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String
The message describing the error.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
The associated stack trace.
finalinherited

Methods

addMissingRequiredProperty(String key) → void
Adds a missing required property key.
getCause() Object
The cause of this exception, if any.
inherited
getMessage() String
The message associated with this exception.
inherited
getMissingRequiredProperties() Set<String>
Returns the set of properties marked as required but not present upon validation.
getStackTrace() StackTrace
The stack trace associated with this exception.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited