24 lines
582 B
Dart
24 lines
582 B
Dart
|
// ignore_for_file: overridden_fields
|
||
|
|
||
|
import 'package:flutter_passvault/modelclasses/usr_list_model.dart';
|
||
|
import 'package:hive/hive.dart';
|
||
|
part 'add_creds_offline.g.dart';
|
||
|
|
||
|
@HiveType(typeId: 1)
|
||
|
class Addofflinecredential extends HiveObject implements Message {
|
||
|
@HiveField(0)
|
||
|
String username;
|
||
|
|
||
|
@HiveField(1)
|
||
|
int usrid;
|
||
|
|
||
|
@override
|
||
|
@HiveField(2)
|
||
|
bool isChecked; // Boolean property to track checked state
|
||
|
|
||
|
Addofflinecredential(this.username, this.usrid, this.isChecked);
|
||
|
|
||
|
@override
|
||
|
dynamic noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
|
||
|
}
|