UriBinding class

A class that binds URI parameters to a given instance and validates them.

Inheritance

Constructors

UriBinding()

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the binding, which is 'uri'.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(EngineContext context, dynamic instance) Future<void>
Binds URI parameters from the context to the instance.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(EngineContext context, Map<String, String> rules, {bool bail = false, Map<String, String>? messages}) Future<void>
Validates the URI parameters in the context against the provided rules.
override

Operators

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