menu
flutter_smart_repository package
documentation
data/local/hive_local_data_source.dart
HiveLocalDataSource<T>
getById method
getById method
dark_mode
light_mode
getById
method
@
override
Future
<
T?
>
getById
(
String
id
)
override
Implementation
@override Future<T?> getById(String id) async { final box = await _getBox(); return box.get(id); }
flutter_smart_repository package
documentation
data/local/hive_local_data_source
HiveLocalDataSource<T>
getById method
HiveLocalDataSource class