BaseApi class

Implementers

Constructors

BaseApi.new(String baseUrl, [String? apiKey])

Properties

apiKey String?
final
baseUrl String
final
client ↔ Dio
latefinal
hashCode int
The hash code for this object.
no setterinherited
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
request({required ApiMethod method, required String endpoint, Map<String, dynamic>? query, Map<String, dynamic>? data, Map<String, String>? headers}) Future<Map<String, dynamic>>
toString() String
A string representation of this object.
inherited

Operators

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