platform/test/shared.dart

20 lines
383 B
Dart
Raw Normal View History

2016-11-28 05:02:12 +00:00
import "package:angel_framework/src/defs.dart";
2016-06-24 21:06:57 +00:00
class Postcard extends MemoryModel {
int id;
String location;
String message;
Postcard({String this.location, String this.message});
@override
bool operator ==(other) {
if (!(other is Postcard))
return false;
return id == other.id && location == other.location &&
message == other.message;
}
2016-06-24 19:02:35 +00:00
}