CodegenAPI class

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

CodegenAPI.new({CodegenPreferences? preferences, void refresh()?})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
off → ({void Function(String type, FutureOr<List<CodegenResult>> callback(CodegenEvent)) $1, void Function(String type, Future<void> callback(CodegenPreferencesEvent)) $2})

Available on CodegenAPI, provided by the CodegenAPI$Typings extension

Overload accessor: $1, $2
no setter
on → ({void Function(String type, FutureOr<List<CodegenResult>> callback(CodegenEvent)) $1, void Function(String type, Future<void> callback(CodegenPreferencesEvent)) $2})

Available on CodegenAPI, provided by the CodegenAPI$Typings extension

Overload accessor: $1, $2
no setter
once → ({void Function(String type, FutureOr<List<CodegenResult>> callback(CodegenEvent)) $1, void Function(String type, Future<void> callback(CodegenPreferencesEvent)) $2})

Available on CodegenAPI, provided by the CodegenAPI$Typings extension

Overload accessor: $1, $2
no setter
preferences CodegenPreferences

Available on CodegenAPI, provided by the CodegenAPI$Typings extension

no setter
refresh ↔ void Function()

Available on CodegenAPI, provided by the CodegenAPI$Typings extension

getter/setter pair
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
toString() String
A string representation of this object.
inherited

Operators

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