AstProxyApi class

Represents an API that wraps a native class.

Inheritance

Constructors

AstProxyApi({required String name, required List<Method> methods, List<String> documentationComments = const <String>[], required List<Constructor> constructors, required List<ApiField> fields, TypeDeclaration? superClass, Set<TypeDeclaration> interfaces = const <TypeDeclaration>{}})
Parametric constructor for AstProxyApi.

Properties

attachedFields Iterable<ApiField>
All fields that are attached.
no setter
constructors List<Constructor>
List of constructors inside the API.
final
documentationComments List<String>
List of documentation comments, separated by line.
getter/setter pairinherited
fields List<ApiField>
List of fields inside the API.
getter/setter pair
flutterMethods Iterable<Method>
Methods implemented in Flutter.
no setter
hashCode int
The hash code for this object.
no setterinherited
hostMethods Iterable<Method>
Methods implemented in the host platform language.
no setter
interfaces Set<TypeDeclaration>
Name of the classes this class considers to be implemented.
getter/setter pair
methods List<Method>
List of methods inside the API.
getter/setter pairinherited
name String
The name of the API.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
superClass TypeDeclaration?
Name of the class this class considers the super class.
getter/setter pair
unattachedFields Iterable<ApiField>
All fields that are not attached.
no setter

Methods

allSuperClasses() Iterable<AstProxyApi>
A list of AstProxyApis where each extends the API that follows it.
apisOfInterfaces() Iterable<AstProxyApi>
All ProxyApis this API implements and all the interfaces those APIs implements.
flutterMethodsFromInterfaces() Iterable<Method>
All methods inherited from interfaces and the interfaces of interfaces.
flutterMethodsFromSuperClasses() Iterable<Method>
A list of Flutter methods inherited from the ProxyApi that this ProxyApi extends.
hasCallbackConstructor() bool
Whether the api has a method that callbacks to Dart to add a new instance to the InstanceManager.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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