schultek/dart_mappable

copyWith not generating

Closed this issue · 1 comments

// 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

Oops, was missing the mixins. Thanks!