GitsStrapi class
Constructors
-
GitsStrapi({int? timeout, GitsInspector? gitsInspector, bool? showLog, AuthTokenOption? authTokenOption, RefreshTokenOption? refreshTokenOption})
-
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
http
↔ GitsHttp
-
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create({required Uri endpoint, required Map<String, dynamic> body})
→ Future<Response>
-
-
delete({required Uri endpoint, required String id})
→ Future<Response>
-
-
getCollection({required Uri endpoint})
→ Future<CollectionResponse<DataResponse>>
-
-
getSingle({required Uri endpoint})
→ Future<SingleResponse<DataResponse>>
-
-
login({required Uri endpoint, required Map<String, dynamic> body})
→ Future<AuthResponse>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
register({required Uri endpoint, required Map<String, dynamic> body})
→ Future<AuthResponse>
-
-
select({required Uri endpoint})
→ Future<Response>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
update({required Uri endpoint, required String id, required Map<String, dynamic> body})
→ Future<Response>
-