copyWith method

ErrorMessage copyWith({
  1. String? message,
})

Implementation

ErrorMessage copyWith({String? message}) {
  return ErrorMessage(
    message: message ?? this.message,
  );
}