copyWith method
MissingRequiredClientCapabilityError
copyWith({
- MissingRequiredClientCapabilityErrorError? error,
- Object? id,
A copy with the given properties replaced; everything else, unknown keys included, is kept.
Implementation
MissingRequiredClientCapabilityError copyWith({
MissingRequiredClientCapabilityErrorError? error,
Object? id,
}) =>
MissingRequiredClientCapabilityError.fromJson({
...toJson(),
if (error != null) 'error': $encode(error),
if (id != null) 'id': $encode(id),
});