ValueExp class
- Inheritance
-
- Object
- Expression
- ValueExp
- Implemented types
- Available Extensions
- Annotations
-
- @freezed
Constructors
- ValueExp(dynamic value, {bool retry = false})
-
factory
- ValueExp.empty({bool retry = false})
-
factory
- ValueExp.str(String value, {String? regexFlags, @Default(false) @JsonKey(ignore: true, defaultValue: false) bool retry})
-
constfactory
Properties
- asBool → bool
-
no setterinherited
- asDate → DateTime
-
no setterinherited
- asNum → num
-
no setterinherited
- asRegExp → RegExp
-
no setter
- asString → String
-
no setterinherited
-
copyWith
→ $ValueExpCopyWith<
ValueExp> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBool → bool
-
no setterinherited
- isDate → bool
-
no setterinherited
- isEmpty → bool
-
no setterinherited
- isNotEmpty → bool
-
no setterinherited
- isNum → bool
-
no setterinherited
- isRegExp → bool
-
no setter
- regexFlags → String?
-
no setterinherited
- retry → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
no setterinherited
Methods
-
cast<
T extends Expression> () → T? -
inherited
-
compareTo(
dynamic other) → int -
Compares this object to another object.
override
-
map<
TResult extends Object?> ({required TResult str(_ValueExp value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult str(_ValueExp value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult str(_ValueExp value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult str(String value, String? regexFlags, bool retry)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult str(String value, String? regexFlags, bool retry)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult str(String value, String? regexFlags, bool retry)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited