ToValObj class
Transforms an input value of type 'Object?' into a more suitable type.
Constructors
- ToValObj.new(ValStr valStr)
- Tries to convert an input value of type Object? into a value of type String?.
-
ToValObj.many(Iterable<
ValStr> vals) -
Tries to convert an input value of type Object? into a value of type
String? and forwards it to each instance within the
vals
iterable. - ToValObj.toStr(ValStr valStr)
- Transforms an input value of type 'Object?' to a value of type 'String?' by invoking the toString method of the input value.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
Object? input) → String? -
Forwards
input
as a value of type String. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited