Argv<T> class

Wrapper for a parsed argument value with typed helpers.

Implementers

Constructors

Argv(T value)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
The wrapped value.
final

Methods

as<R>() → R
Casts value to R.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
safeAs<R>() → R?
Casts value to R if possible, otherwise returns null.
toJson() Object?
Converts nested values into JSON-friendly types.
toString() String
A string representation of this object.
override

Operators

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