Service class

Inheritance

Constructors

Service.init({required String baseUrl})

Properties

dio ↔ Dio?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
option ↔ BaseOptions?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetchRequest({required String path, Options? options}) Future
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postRequest({required String path, dynamic model, Options? options}) Future
override
returnResponse(Response response) → dynamic
override
toString() String
A string representation of this object.
inherited

Operators

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