getBox<T> method
Get Box<T>
Implementation
TDB2Box<T> getBox<T>() {
final box = _boxs[T];
if (box == null) {
throw Exception('No Adapter Registerd for type `$T`');
}
return box as TDB2Box<T>;
}
<T>TDB2Box<T> getBox<T>() {
final box = _boxs[T];
if (box == null) {
throw Exception('No Adapter Registerd for type `$T`');
}
return box as TDB2Box<T>;
}