getBox<T> method

TDB2Box<T> getBox<T>()

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>;
}