Skip to content

Instantly share code, notes, and snippets.

@felangel
Last active October 13, 2019 01:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felangel/26e17094af80ca5cabbbbb54cad1f136 to your computer and use it in GitHub Desktop.
Save felangel/26e17094af80ca5cabbbbb54cad1f136 to your computer and use it in GitHub Desktop.
[intro_equatable] Person extends Equatable
import "package:equatable/equatable.dart";
class Person extends Equatable {
final String name;
final int age;
const Person({this.name, this.age});
@override
List<Object> get props => [name, age];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment