API class

Implementers

Constructors

API.new({required Session session})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session Session
final

Methods

append(String uri, Map<String, dynamic> params) String
get(String uri, {Map<String, String>? headers, Map<String, dynamic>? params}) Future<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String uri, {required Map<String, String> headers, Object? body}) Future<Response>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

add(Map<String, dynamic> params, Map<String, dynamic> option) → void