platform/test/shared.dart
thosakwe 5434b14abe +10
2016-11-28 00:02:12 -05:00

20 lines
No EOL
383 B
Dart

import "package:angel_framework/src/defs.dart";
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;
}
}