NUIWebInterface class abstract

Implementers

Constructors

NUIWebInterface()

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

doDELETE<T extends NUIEnt>({required String url, Map<String, String>? headers, Map<String, String>? params, String? pathVariable, Encoding? encoding, NUIEntMapper<T>? entity, bool storeTemp = false}) Future<NUIHttpResponse<T>>
Calling a DELETE request to the server
doGET<T extends NUIEnt>({required String url, Map<String, String>? headers, Map<String, String>? params, String? pathVariable, NUIEntMapper<T>? entity, bool storeTemp = false}) Future<NUIHttpResponse<T>>
Calling a GET request to the server
doMultipartPOST<T extends NUIEnt>({required String url, Map<String, String>? headers, Map<String, String>? params, String? pathVariable, List<MultipartFile>? files, Map<String, String>? fields, Encoding? encoding, NUIEntMapper<T>? entity, bool storeTemp = false}) Future<NUIHttpResponse<T>>
Calling a POST request to the server with multipart
doPATCH<T extends NUIEnt>({required String url, Map<String, String>? headers, Map<String, String>? params, String? pathVariable, NUIEnt? bodyEnt, dynamic body, String? bodyString, Encoding? encoding, NUIEntMapper<T>? entity, bool storeTemp = false}) Future<NUIHttpResponse<T>>
Calling a PATCH request to the server
doPOST<T extends NUIEnt>({required String url, Map<String, String>? headers, Map<String, String>? params, String? pathVariable, NUIEnt? bodyEnt, dynamic body, String? bodyString, NUIEntMapper<T>? entity, Encoding? encoding, bool storeTemp}) Future<NUIHttpResponse<T>>
Calling a POST request to the server
doPUT<T extends NUIEnt>({required String url, Map<String, String>? headers, Map<String, String>? params, String? pathVariable, NUIEnt? bodyEnt, dynamic body, String? bodyString, Encoding? encoding, NUIEntMapper<T>? entity, bool storeTemp = false}) Future<NUIHttpResponse<T>>
Calling a PUT request to the server
downloadFromURL({required String url}) Future<Uint8List?>
Download a file from a URL endpoint
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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