Network class abstract
Main Network Class. You Should Create A Subclass Extending This Class
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
-
addServer(
Server server) → void - Adds Server To Network
-
call(
String serverId, String routeId, {int requestType = NetworkRequestType.POST, Map< String, dynamic> ? data, Map<String, String> ? replacements, Map<String, dynamic> ? headers}) → Future<NetworkResult> - This Is Your Request Interface You can change the way you are sending a request to the server
-
getId(
) → String - Returns Network Id
-
getServer(
String id) → Server -
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