Constructor class
Represents a constructor for an API.
Constructors
-
Constructor({required String name, required List<
Parameter> parameters, int? offset, String swiftFunction = '', List<String> documentationComments = const <String>[]}) - Parametric constructor for Constructor.
Properties
-
documentationComments
↔ List<
String> -
List of documentation comments, separated by line.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAsynchronous ↔ bool
-
Whether the receiver of this method is expected to return synchronously or not.
getter/setter pairinherited
- isRequired ↔ bool
-
Whether this method is required to be implemented.
getter/setter pairinherited
- isStatic ↔ bool
-
Whether this is a static method of a ProxyApi.
getter/setter pairinherited
- location ↔ ApiLocation
-
Where the implementation of this method is located, host or Flutter.
getter/setter pairinherited
- name ↔ String
-
The name of the method.
getter/setter pairinherited
- objcSelector ↔ String
-
An override for the generated objc selector (ex. "divideNumber:by:").
getter/setter pairinherited
- offset ↔ int?
-
The offset in the source file where the field appears.
getter/setter pairinherited
-
parameters
↔ List<
Parameter> -
The parameters passed into the Method.
getter/setter pairinherited
- returnType ↔ TypeDeclaration
-
The data-type of the return value.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- swiftFunction ↔ String
-
An override for the generated swift function signature (ex. "divideNumber(_:by:)").
getter/setter pairinherited
- taskQueueType ↔ TaskQueueType
-
Specifies how handlers are dispatched with respect to threading.
getter/setter pairinherited
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