NetworkUtils class

Constructors

NetworkUtils.new()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
pingsList List<Ping>
getter/setter pair
pingTimes List<int>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCoins({String forceUrl = "https://miracocopepsi.com/admin/mayur/data_darsh/reward.json", String listKey = "rewards", int? checkIndex = 1, String checkKey = "isspin", required dynamic onCompleted(List coins), required dynamic onError(String error)}) → dynamic
getFastServer({required List<String> servers, required dynamic onPingTestCompleted(List<int> timeList)}) → dynamic
getJsonUrl(String prefix, List jsonUrl) String?
getSpin({String forceUrl = "https://miracocopepsi.com/admin/mayur/data_darsh/reward.json", String listKey = "rewards", int? checkIndex = 0, String checkKey = "isspin", required dynamic onCompleted(List spins), required dynamic onError(String error)}) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sortListByFastest(List<String> servers, List<int> pingsTimeStamp, List jsonUrl) List<Map>
toString() String
A string representation of this object.
inherited

Operators

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