Network class

Allows to easily perform network-related operations.

Constructors

Network()

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

query(Uri url, {Client? client}) Future<String?>
Sends a GET request to url with optional client and returns the response body or null if any exception happens.
queryChain(Uri url, {Client? client}) Future
Sends a GET request the given url with optional client and returns the JSON deserialized result or null if some error happens.