platform/test/shared.dart
regiostech 65254902c0 Done
2016-06-24 17:06:57 -04:00

20 lines
No EOL
390 B
Dart

import 'package:angel_framework/angel_framework.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;
}
}