getBox<T> method
Get Box<T>
Usage -> db.getBox<T>()
Implementation
TDBox<T> getBox<T>() {
final box = _box[T];
if (box == null) {
throw Exception('Box<$T> not found. Did you setAdapter<$T>()?');
}
return box as TDBox<T>;
}