getById method

  1. @override
Future<T?> getById(
  1. String id
)
override

Implementation

@override
Future<T?> getById(String id) async {
  final box = await _getBox();
  return box.get(id);
}