AnalysisOptions class
AnalysisOptions
{ "enableAsync": optional bool "enableDeferredLoading": optional bool "enableEnums": optional bool "enableNullAwareOperators": optional bool "enableSuperMixins": optional bool "generateDart2jsHints": optional bool "generateHints": optional bool "generateLints": optional bool }
Clients may not extend, implement or mix-in this class.
Constructors
- AnalysisOptions({bool? enableAsync, bool? enableDeferredLoading, bool? enableEnums, bool? enableNullAwareOperators, bool? enableSuperMixins, bool? generateDart2jsHints, bool? generateHints, bool? generateLints})
- AnalysisOptions.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
-
factory
Properties
- enableAsync ↔ bool?
-
Deprecated: this feature is always enabled.
getter/setter pair
- enableDeferredLoading ↔ bool?
-
Deprecated: this feature is always enabled.
getter/setter pair
- enableEnums ↔ bool?
-
Deprecated: this feature is always enabled.
getter/setter pair
- enableNullAwareOperators ↔ bool?
-
Deprecated: this feature is always enabled.
getter/setter pair
- enableSuperMixins ↔ bool?
-
True if the client wants to enable support for the proposed "less
restricted mixins" proposal (DEP 34).
getter/setter pair
- generateDart2jsHints ↔ bool?
-
True if hints that are specific to dart2js should be generated. This
option is ignored if generateHints is false.
getter/setter pair
- generateHints ↔ bool?
-
True if hints should be generated as part of generating errors and
warnings.
getter/setter pair
- generateLints ↔ bool?
-
True if lints should be generated as part of generating errors and
warnings.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Returns a JSON presentation of the object.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override