Files
MrbWebLibre/app/lib/features/web_view/domain/entities/consistent_controller.dart
T
2024-09-13 09:11:06 +02:00

17 lines
406 B
Dart

class ConsistentController {
final InAppWebViewController? value;
const ConsistentController(this.value);
@override
// ignore: avoid_dynamic_calls
int get hashCode => value?.platform.id.hashCode ?? -1;
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
if (other is! ConsistentController) return false;
return hashCode == other.hashCode;
}
}