copyWith method
Implementation
OperationMessage copyWith({String? message, int? statusCode}) {
return OperationMessage(
message: message ?? this.message,
statusCode: statusCode ?? this.statusCode,
);
}
OperationMessage copyWith({String? message, int? statusCode}) {
return OperationMessage(
message: message ?? this.message,
statusCode: statusCode ?? this.statusCode,
);
}