setSize method
Sets the on-screen size of the model in pixels (width and height). Returns true if the operation is successful, false otherwise.
Example:
bool sizeOk = m.setSize(64.0, 64.0);
print("Model setSize: $sizeOk");
Implementation
@override
bool setSize(double width, double height) {
final _setSizeFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Uint8 Function(Pointer<Void>, Float, Float),
int Function(Pointer<Void>, double, double)
>('navigine_sdk_flutter_ModelMapObject_setSize__Width_Height'));
final __resultHandle = _setSizeFfi(this.ptr, width, height);
final _result = (__resultHandle != 0);
exception.checkCallResult();
return _result;
}