- Implemented by
Constructors
- AbstractControl(ValidatorFn validator, AsyncValidatorFn asyncValidator)
Properties
- asyncValidator → AsyncValidatorFn
-
read / write
- dirty → bool
-
read-only
- errors → Map<String, dynamic>
-
Returns the errors of this control.
read-only - hashCode → int
-
Get a hash code for this object.
read-only, inherited - pending → bool
-
read-only
- pristine → bool
-
read-only
- root → AbstractControl
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - status → String
-
read-only
- statusChanges → Stream
-
read-only
- touched → bool
-
read-only
- untouched → bool
-
read-only
- valid → bool
-
read-only
- validator → ValidatorFn
-
read / write
- value → dynamic
-
read-only
- valueChanges → Stream
-
read-only
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
find(
path) → AbstractControl -
getError(
String errorCode, [ List<String> path ]) → dynamic -
hasError(
String errorCode, [ List<String> path = null ]) → bool -
markAsDirty(
{bool onlySelf }) → void -
markAsPending(
{bool onlySelf }) → void -
markAsTouched(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
setErrors(
Map<String, dynamic> errors, { bool emitEvent }) → void -
Sets errors on a control.
-
setParent(
parent) → void -
toString(
) → String -
Returns a string representation of this object.
inherited -
updateValueAndValidity(
{bool onlySelf, bool emitEvent }) → void