NrbNetworkClient class

A stub implementation of the NRB network client.

NrbNetworkClient defines the base interface for performing HTTP requests within the package. Platform-specific logic (Web or IO) is injected at runtime via conditional imports.

Constructors

NrbNetworkClient()

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

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

Static Methods

get(String url, {Map<String, String>? headers}) Future<String>
Defines the signature for an HTTP GET request.
postForBytes(String url, String body, {Map<String, String>? headers}) Future<Uint8List>
Defines the signature for an HTTP POST request that returns file bytes.