getBox<T> method

JsonDBBox<T> getBox<T>()

Get Box<T>

Implementation

JsonDBBox<T> getBox<T>() {
  if (_boxs[T] == null) {
    throw Exception('No Adapter Registerd for type `$T`');
  }
  return _boxs[T] as JsonDBBox<T>;
}