Sync class
Stores information about a sync operation
- Annotations
-
- @JsonSerializable()
Constructors
Properties
- creationTime → DateTime
-
The first time the target was synced
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
The last sync message
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → SyncStatus
-
The status of the sync
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - target → String
-
The target
final
- type → SyncType
-
The target type
final
- updateTime → DateTime
-
The last time the target was synced
final
Methods
-
copyWith(
{SyncType? type, String? parent, String? target, SyncStatus? status, String? message, DateTime? creationTime, DateTime? updateTime}) → Sync - Builds a copy of a Sync
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Creates a json map from a Sync
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited