GitsStrapi class

Constructors

GitsStrapi({int? timeout, GitsInspector? gitsInspector, bool? showLog, Map<String, String>? headers, 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({Map<String, String>? headers, required Uri endpoint, required Map<String, dynamic> body}) Future<Response>
delete({Map<String, String>? headers, required Uri endpoint, required String id}) Future<Response>
getCollection({Map<String, String>? headers, required Uri endpoint}) Future<CollectionResponse<DataResponse>>
getSingle({Map<String, String>? headers, required Uri endpoint}) Future<SingleResponse<DataResponse>>
login({Map<String, String>? headers, 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({Map<String, String>? headers, required Uri endpoint, required Map<String, dynamic> body}) Future<AuthResponse>
select({Map<String, String>? headers, required Uri endpoint}) Future<Response>
toString() String
A string representation of this object.
inherited
update({Map<String, String>? headers, required Uri endpoint, required String id, required Map<String, dynamic> body}) Future<Response>

Operators

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