SyncResult class
SyncResult refers to the generic class for sync response
- Annotations
-
- @JsonSerializable(createFactory: true)
Constructors
- SyncResult(List items, int skip, int limit, int totalCount, String syncToken, String paginationToken)
-
SyncResult.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- items → List
-
list of items available in sync result
final
- limit → int
-
limit for result items in sync result
final
- paginationToken → String
-
Pagination Token for the sync result
@JsonKey(name: 'pagination_token'), final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- skip → int
-
skip count in sync result
final
- syncToken → String
-
Sync Token for the sync result
@JsonKey(name: 'sync_token'), final
- totalCount → int
-
Total items count in sync result
@JsonKey(name: 'total_count'), final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited