copyWith method

Error copyWith({
  1. String? type,
  2. String? help,
})

Implementation

Error copyWith({
  String? type,
  String? help,
}) =>
    Error(
      type: type ?? this.type,
      help: help ?? this.help,
    );