IValueObject<T> class
abstract
- Implementers
- Annotations
Constructors
- IValueObject({String? initialValue})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- initialValue → String?
-
final
- input → String
-
This will return the value irrespective of validity
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
→ Either<
ValueFailure< T> , T> -
no setter
Methods
-
get(
) → T - This will return the valid value, if value is not valid then null
-
getOrCrash(
) → T -
getOrElse(
ValueCallback< T> l) → T -
isNotValid(
) → bool -
isValid(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override