// This file is automatically generated, so please do not edit it. // @generated by `flutter_rust_bridge`@ 2.11.1. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import import '../frb_generated.dart'; import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; class Peer { final String id; final String name; final Map routes; final int port; final String os; final String publicKey; final bool trustMismatch; final bool enableTls; const Peer({ required this.id, required this.name, required this.routes, required this.port, required this.os, required this.publicKey, required this.trustMismatch, required this.enableTls, }); @override int get hashCode => id.hashCode ^ name.hashCode ^ routes.hashCode ^ port.hashCode ^ os.hashCode ^ publicKey.hashCode ^ trustMismatch.hashCode ^ enableTls.hashCode; @override bool operator ==(Object other) => identical(this, other) || other is Peer && runtimeType == other.runtimeType && id == other.id && name == other.name && routes == other.routes && port == other.port && os == other.os && publicKey == other.publicKey && trustMismatch == other.trustMismatch && enableTls == other.enableTls; } class RouteState { final String ip; final double lastSeen; const RouteState({required this.ip, required this.lastSeen}); @override int get hashCode => ip.hashCode ^ lastSeen.hashCode; @override bool operator ==(Object other) => identical(this, other) || other is RouteState && runtimeType == other.runtimeType && ip == other.ip && lastSeen == other.lastSeen; }