FormProperties class

Represents properties of the form bound to the presenter.

This object is immutable and equatable, so you can use this object for state management mechanism well.

Available extensions
Annotations

Properties

hashCode int
The hash code for this object.
no setteroverride
presenter CompanionPresenterMixin
Gets a CompanionPresenterMixin instance which holds this properties state.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canSubmit(BuildContext context) bool
Calls bound presenter's CompanionPresenterMixin.canSubmit.
copyWithProperties(Map<String, Object?> newValues) FormProperties
Returns a copy of this instance with specified new properties.
copyWithProperty(String name, Object? newValue) FormProperties
Returns a copy of this instance with a specified new property.
getAllDescriptors() Iterable<PropertyDescriptor<Object, Object>>
Gets all registered PropertyDescriptors.
getDescriptor<P extends Object, F extends Object>(String name) PropertyDescriptor<P, F>
Gets a PropertyDescriptor for the specified name, which was registered via CompanionPresenterMixin.initializeCompanionMixin.
getValue(String name) Object?
Gets a value of specified property.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
submit(BuildContext context) → void Function()?
Calls bound presenter's CompanionPresenterMixin.submit.
toString() String
A string representation of this object.
inherited
tryGetDescriptor<P extends Object, F extends Object>(String name) PropertyDescriptor<P, F>?
Tries to get a PropertyDescriptor for the specified name, which was registered via CompanionPresenterMixin.initializeCompanionMixin.

Operators

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