NetworkConfig class

NetworkConfiguration class holds all your data from your Configuration file You always should save your Configuration File in your Server because of Security Reasons

Constructors

NetworkConfig(String _configId, int _syncIntervall)

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

clear() Future<void>
Clear Config from Cache
getConfig() Map<String, dynamic>
Returns Network Config
getLastSync() int
Returns Last Sync
getSyncInterval() int
Returns Sync Intervall
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveConfig() Future<void>
Save Config to Cache
setupFromNetworkRequest(Future<NetworkResult> callback) Future<bool>
Synchronize Config Data with Server
shouldSync() bool
Should Sync current Configuration File with Network
toString() String
A string representation of this object.
inherited

Operators

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