ArgResultsSource class abstract interface

The global options a long-running command reads.

A tiny indirection over ArgResults so server and node can be constructed before the top-level arguments are parsed, and so tests can drive them with a literal option map instead of a parser.

Implementers

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

flag(String name) bool
The value of global flag name.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
option(String name) String?
The value of global option name, or null.
toString() String
A string representation of this object.
inherited

Operators

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