copyWith method
Implementation
PendingOp copyWith({
String? opId,
String? scopeName,
String? scopeKeys,
String? type,
String? id,
Value<String?> payload = const Value.absent(),
String? updatedAt,
}) => PendingOp(
opId: opId ?? this.opId,
scopeName: scopeName ?? this.scopeName,
scopeKeys: scopeKeys ?? this.scopeKeys,
type: type ?? this.type,
id: id ?? this.id,
payload: payload.present ? payload.value : this.payload,
updatedAt: updatedAt ?? this.updatedAt,
);