ServiceHelper class

Constructors

ServiceHelper({required String authority, required ClientContext context})
Returns the new instance of ServiceHelper.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(UserContext userContext, String unencodedPath, {Response validate(Response response)?}) Future<Response>
get(UserContext userContext, String unencodedPath, {Map<String, dynamic> queryParameters = const {}, Response validate(Response response)?}) Future<Response>
getStream(UserContext userContext, String unencodedPath, {Map<String, dynamic> queryParameters = const {}, Map<String, dynamic> validate(StreamedResponse streamedResponse, String event)?}) Future<StreamResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(UserContext userContext, String unencodedPath, {Map<String, dynamic> queryParameters = const {}, dynamic body = const {}, Response validate(Response response)?}) Future<Response>
postMultipart(UserContext userContext, String unencodedPath, {List<MultipartFile> files = const [], Map<String, dynamic> queryParameters = const {}, Response validate(Response response)?}) Future<Response>
put(UserContext userContext, String unencodedPath, {dynamic body = const {}, Response validate(Response response)?}) Future<Response>
toString() String
A string representation of this object.
inherited

Operators

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