Flag class Null safety

A Flag represents a single VM command line flag.

Constructors

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

Properties

comment String?
A description of the flag.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
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-only, inherited
valueAsString String?
The value of this flag as a string. [...]
@optional, read / 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?