SyncError class

Constructors

SyncError.new({required String id, required String message, String? stackTrace, Map<String, dynamic>? metadata, required DateTime timestamp, String? category, String? entityType, String? entityId, bool isSent = false})
const
SyncError.fromJson(Map<String, dynamic> json)
factory

Properties

category String?
final
entityId String?
final
entityType String?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
isSent bool
final
message String
final
metadata Map<String, dynamic>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace String?
final
timestamp DateTime
final

Methods

copyWith({String? id, String? message, String? stackTrace, Map<String, dynamic>? metadata, DateTime? timestamp, String? category, String? entityType, String? entityId, bool? isSent}) SyncError
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.
inherited

Operators

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