You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
301 B
19 lines
301 B
import 'package:hive/hive.dart';
|
|
|
|
part 'file_entity.g.dart';
|
|
|
|
@HiveType(typeId: 3)
|
|
class FileEntity extends HiveObject {
|
|
@HiveField(0)
|
|
String? filename;
|
|
@HiveField(1)
|
|
int? size;
|
|
@HiveField(2)
|
|
String? extension;
|
|
|
|
FileEntity({
|
|
this.filename,
|
|
this.size,
|
|
this.extension,
|
|
});
|
|
}
|