NetworkUtil class
Constructors
- NetworkUtil()
-
factory
- NetworkUtil.internal()
Properties
- context ↔ BuildContext?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- prefs ↔ SharedPreferences
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get(
String url) → Future -
getWithQueryParams(
Uri uri, Map< String, String> headers) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
BuildContext? context, String url, {Map? headers, dynamic body, dynamic encoding, Function? noNetworkCallBack, Function? sessionExpiredCallback}) → Future -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited