Api class

Represents a collection of Methods that are hosted on a given location.

Inheritance

Constructors

Api({required String name, required ApiLocation location, required List<Method> methods, String? dartHostTestHandler, List<String> documentationComments = const <String>[]})
Parametric constructor for Api.

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 pair
hashCode int
The hash code for this object.
no setterinherited
location ApiLocation
Where the API's implementation is located, host or Flutter.
getter/setter pair
methods List<Method>
List of methods inside the API.
getter/setter pair
name String
The name of the API.
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.
override

Operators

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