aves/lib/widgets/viewer/hero.dart
2021-02-01 17:58:40 +09:00

16 lines
329 B
Dart

import 'package:aves/model/entry.dart';
class HeroInfo {
final AvesEntry entry;
const HeroInfo(this.entry);
@override
bool operator ==(Object other) {
if (other.runtimeType != runtimeType) return false;
return other is HeroInfo && other.entry == entry;
}
@override
int get hashCode => entry.hashCode;
}