copyWith method
Implementation
EditBuffer copyWith({
Map<String, Object?>? original,
Map<String, Object?>? edits,
bool? isSaving,
EntityGraphError? error,
bool clearError = false,
}) => EditBuffer(
original: original ?? this.original,
edits: edits ?? this.edits,
isSaving: isSaving ?? this.isSaving,
error: clearError ? null : (error ?? this.error),
);