Orm<T> constructor Null safety

Orm<T>(
  1. QueryAble ctx
)

Implementation

Orm(this.ctx) {
  final _tableInfo = DeclarationHolder().byTable(T.toString());
  if (_tableInfo == null) {
    throw DeclarationException('Table $T not register!');
  }
  tableInfo = _tableInfo;
}