value property Null safety

void value=(String value)

Implementation

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