ArgoSyncWindows class

Constructors

ArgoSyncWindows({List<Object> activeWindows = const [], List<Object> assignedWindows = const [], bool? canSync})
Returns a new ArgoSyncWindows instance.

Properties

activeWindows ↔ List<Object>
ActiveWindows are the sync windows in force right now. Always null: this platform declares none, so nothing is ever in force.
getter/setter pair
assignedWindows ↔ List<Object>
AssignedWindows are the windows configured for this application at all, whether or not currently in force. Always null, for the same reason.
getter/setter pair
canSync ↔ bool?
CanSync is whether a sync would be permitted at this moment. Always true — with no windows there is nothing to deny it. A caller must not read this as "a sync will succeed"; it only means no window is blocking one.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → ArgoSyncWindows?
Returns a new ArgoSyncWindows instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ArgoSyncWindows>
mapFromJson(dynamic json) → Map<String, ArgoSyncWindows>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ArgoSyncWindows>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.