Skip to content

Instantly share code, notes, and snippets.

@marcossevilla
Created February 4, 2021 17:28
Show Gist options
  • Save marcossevilla/3da54d074e922be117f47c3cfe88a479 to your computer and use it in GitHub Desktop.
Save marcossevilla/3da54d074e922be117f47c3cfe88a479 to your computer and use it in GitHub Desktop.
import 'package:equatable/equatable.dart';
import 'package:meta/meta.dart';
class StoreItemEquatable extends Equatable {
StoreItemEquatable({
@required this.id,
@required this.name,
});
final int id;
final String name;
@override
List<Object> get props => [id, name];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment