copyWith method
LocalChange
copyWith(
{ - int? id,
- String? entityType,
- String? entityId,
- String? entityRev,
- bool? deleted,
- Uint8List? protoBytes,
- DateTime? createMoment,
- bool? concluded,
- DateTime? concludedMoment,
- String? error,
- bool? dismissed,
})
Implementation
LocalChange copyWith({
int? id,
String? entityType,
String? entityId,
String? entityRev,
bool? deleted,
Uint8List? protoBytes,
DateTime? createMoment,
bool? concluded,
DateTime? concludedMoment,
String? error,
bool? dismissed,
}) {
return LocalChange(
entityType: entityType ?? this.entityType,
entityId: entityId ?? this.entityId,
entityRev: entityRev ?? this.entityRev,
deleted: deleted ?? this.deleted,
protoBytes: protoBytes ?? this.protoBytes,
createMoment: createMoment ?? this.createMoment,
concluded: concluded ?? this.concluded,
concludedMoment: concludedMoment ?? this.concludedMoment,
error: error ?? this.error,
dismissed: dismissed ?? this.dismissed,
);
}