copyWith method
Implementation
ErrorDetail copyWith({String? id, String? name, String? detail}) {
return ErrorDetail(
id: id ?? this.id,
name: name ?? this.name,
detail: detail ?? this.detail);
}
ErrorDetail copyWith({String? id, String? name, String? detail}) {
return ErrorDetail(
id: id ?? this.id,
name: name ?? this.name,
detail: detail ?? this.detail);
}