Api class

Constructors

Api()

Properties

dio → Dio
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String
getter/setter pair
url String
urlinit 함수에서 초기화 되어야 한다.
latefinal
user ↔ User
getter/setter pair

Methods

init({required String url}) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request(String route, [Map<String, dynamic>? data]) Future
time() Future<TimeModel>
toString() String
A string representation of this object.
inherited
version() Future<VersionModel>

Operators

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

Static Properties

instance Api
no setter