Net class abstract

Annotations

Constructors

Net()

Properties

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

Methods

getHtml(String url, {Map<String, String> extraHeaders = const {}}) Future<String>
getJson(String url, {Map<String, String> extraHeaders = const {}}) Future
getRaw(String url, {Map<String, String> extraHeaders = const {}}) Future<List<int>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postHtml(String url, Map? params, {Map<String, String> extraHeaders = const {}}) Future<String>
postJson(String url, dynamic params, {Map<String, String> extraHeaders = const {}}) Future
postRaw(String url, Map? params, {Map<String, String> extraHeaders = const {}}) Future<List<int>>
putJson(String url, dynamic params, {Map<String, String> extraHeaders = const {}}) Future
toString() String
A string representation of this object.
inherited

Operators

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