AstHostApi class
Represents a collection of Methods that are implemented on the platform side.
Constructors
-
AstHostApi({required String name, required List<
Method> methods, List<String> documentationComments = const <String>[], String? dartHostTestHandler}) - Parametric constructor for AstHostApi.
Properties
- dartHostTestHandler ↔ String?
-
The name of the Dart test interface to generate to help with testing.
getter/setter pair
-
documentationComments
↔ List<
String> -
List of documentation comments, separated by line.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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
Methods
-
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