factory $APIErrorCopyWith(APIError value, $Res Function(APIError) then) = _$APIErrorCopyWithImpl<$Res>;