copyWith method

OperationMessage copyWith({
  1. String? message,
  2. int? statusCode,
})

Implementation

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