import 'dart:core'; import 'package:hive_flutter/hive_flutter.dart'; part 'userdata_model.g.dart'; @HiveType(typeId: 1) class UserData { @HiveField(0) String? name; @HiveField(1) String? email; @HiveField(2) String? domainUrl; @HiveField(3) String? secretkey; @HiveField(4) String? imageBytes; UserData( {required this.email, required this.name, required this.domainUrl, this.imageBytes, required this.secretkey}); }