NetraClient class
Constructors
-
NetraClient({required String baseUrl, Map<
String, String> ? headers, ConverterType? converterType, CircuitBreakerOptions? circuitBreakerOptions})
Properties
- baseUrl ↔ String
-
getter/setter pair
- circuitBreakerOptions ↔ CircuitBreakerOptions?
-
getter/setter pair
- controller → NetraController
-
final
- converterType ↔ ConverterType?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
↔ Map<
String, String> ? -
getter/setter pair
- id ↔ String
-
getter/setter pair
- observer ↔ ClientObserver
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
{required RequestOptions requestOptions}) → Future< Response?> -
get(
{required RequestOptions requestOptions}) → Future< Response?> -
getStream(
{required RequestOptions requestOptions}) → Future< Stream< List< >int> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
off(
String eventId) → void -
on(
ClientEvent eventName) → String -
patch(
{required RequestOptions requestOptions}) → Future< Response?> -
post(
{required RequestOptions requestOptions}) → Future< Response?> -
put(
{required RequestOptions requestOptions}) → Future< Response?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited