twonly-app/lib/core/database/contact.dart
2026-04-15 23:51:48 +02:00

28 lines
712 B
Dart

// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.12.0.
// ignore_for_file: unused_import
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
import '../frb_generated.dart';
class Contact {
const Contact({
required this.userId,
required this.username,
});
final PlatformInt64 userId;
final String username;
@override
int get hashCode => userId.hashCode ^ username.hashCode;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is Contact &&
runtimeType == other.runtimeType &&
userId == other.userId &&
username == other.username;
}