LocalChange class

Constructors

LocalChange({required int id, required DateTime createMoment, required String entityType, required String entityId, required String entityRev, required Uint8List protoBytes, required ChangeOperation operation, bool concluded = false, DateTime? concludedMoment, String? error, bool dismissed = false})
LocalChange.create({required String entityType, required Uint8List protoBytes, required String entityId, required String entityRev})
factory
LocalChange.delete({required String entityType, required Uint8List protoBytes, required String entityId, required String entityRev})
factory
LocalChange.update({required String entityType, required Uint8List protoBytes, required String entityId, required String entityRev})
factory

Properties

concluded bool
final
concludedMoment DateTime?
final
createMoment DateTime
final
dismissed bool
final
entityId String
final
entityRev String
final
entityType String
final
error String?
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
operation ChangeOperation
final
protoBytes Uint8List
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? id, String? entityType, String? entityId, String? entityRev, ChangeOperation? operation, Uint8List? protoBytes, DateTime? createMoment, bool? concluded, DateTime? concludedMoment, String? error, bool? dismissed}) LocalChange
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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