ParamValue class

Class represent the param value

Constructors

ParamValue(Object? _value, {bool keepAlive = false, int? cleanupAfter, ParamChanged? onChange, dynamic onDelete()?})

Properties

asDouble double?
Get the param as double
no setter
asInt int?
Get the param as int
no setter
cleanupAfter int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasValue bool
is param has value
no setter
keepAlive bool
getter/setter pair
onChange ParamChanged?
getter/setter pair
onDelete ↔ (dynamic Function()?)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Object?
Get the param value as String
no setter

Methods

copyWith({Object? value, bool? keepAlive, int? cleanupAfter, ParamChanged? onChange, dynamic onDelete()?}) ParamValue
isSame(ParamValue other) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
valueAs<T>() → T?

Operators

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