Flag class Null safety

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.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
modified ↔ bool?
Has this flag been modified from its default setting?
read / write
name ↔ String?
The name of the flag.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
valueAsString ↔ String?
The value of this flag as a string.
optional">@optionalread / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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?