copyWith not generating
Closed this issue · 1 comments
lukepighetti commented
// This file is "model.dart"
import 'package:dart_mappable/dart_mappable.dart';
// Will be generated by dart_mappable
part 'search_result_response.mapper.dart';
@MappableClass()
class SearchResultResponse {
final SearchResult results;
SearchResultResponse(this.results);
}
@MappableClass()
class SearchResult {
final String artworkUrl100;
SearchResult(
this.artworkUrl100,
);
}
![Screenshot 2024-06-18 at 3 36 43 PM](https://private-user-images.githubusercontent.com/666539/340808282-53039f77-9bc9-42ec-b448-e9fc4b57bfe9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwMzE1NTAsIm5iZiI6MTcyNTAzMTI1MCwicGF0aCI6Ii82NjY1MzkvMzQwODA4MjgyLTUzMDM5Zjc3LTliYzktNDJlYy1iNDQ4LWU5ZmM0YjU3YmZlOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODMwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgzMFQxNTIwNTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05NWVhMjNmZjJjZGU5YjFkN2Q3NTliMzlmNzNjOTk4OTk2NTFmYmU5NjcyY2RiMzY5OWRkMWQwYzM1MjIwODgxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.XP8HUaiqNgD7vMe9zPCyahyN_3fE9ZuteNcFP3VZunw)
lukepighetti commented
Oops, was missing the mixins. Thanks!