Flag class

A Flag represents a single VM command line flag.

Constructors

Flag({String? name, String? comment, bool? modified, String? valueAsString})

Properties

comment ↔ String?
A description of the flag.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
modified ↔ bool?
Has this flag been modified from its default setting?
getter/setter pair
name ↔ String?
The name of the flag.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
valueAsString ↔ String?
The value of this flag as a string.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

parse(Map<String, dynamic>? json) → Flag?