value property

set value (String value)

Implementation

set value(String value) {
  if (_alias == null) {
    withNativeString(
        value,
        (Pointer<Char> cStr) => checkObx(C.query_param_string(
            _query._ptr, _entityId, _prop._model.id.id, cStr)));
  } else {
    withNativeStrings(
        [_alias!, value],
        (Pointer<Pointer<Char>> ptr, int size) => checkObx(
            C.query_param_alias_string(_query._ptr, ptr[0], ptr[1])));
  }
}