copyWith method

ExceptionInfo copyWith({
  1. String? type,
  2. String? message,
  3. String? description,
})

Implementation

ExceptionInfo copyWith({
  String? type,
  String? message,
  String? description,
}) =>
    ExceptionInfo(
        type: type ?? this.type,
        message: message ?? this.message,
        description: description ?? this.description);