putSingle<T> method

Future putSingle<T>(
  1. T entity
)

Implementation

Future putSingle<T>(T entity) async {
  if (_putSingleFunc == null) {
    throw Exception('QueryBuilder@putSingle _putSingleFunc not defined');
  }
  //throw UnsupportedOperationException('`putSingle` not implemented');
  return _putSingleFunc!(entity);
}