NetworkService class abstract

Implementers

Constructors

NetworkService()

Properties

baseUrl String
no setter
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, Object>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(String endpoint, {Map<String, dynamic>? queryParameters}) Future<Either<AppException, Response>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String endpoint, {Map<String, dynamic>? data}) Future<Either<AppException, Response>>
postFileUpload(String endpoint, {Map<String, dynamic>? data, List<File>? files, String? fileKey}) Future<Either<AppException, Response>>
toString() String
A string representation of this object.
inherited
updateHeader(Map<String, dynamic> data) → void

Operators

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