setWidth method
@brief Method is used to specify the width of the polyline. @param width Width of the polyline in pixels. @return true if the operation is successful, false otherwise.
Dart code snippet: @snippet location_window_map_objects_example.dart dart_PolylineMapObject_setWidth
Implementation
@override
bool setWidth(double width) {
final _setWidthFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Uint8 Function(Pointer<Void>, Float),
int Function(Pointer<Void>, double)
>('navigine_sdk_flutter_PolylineMapObject_setWidth__Width'));
final _widthHandle = navigine_sdk_flutter_double_ToFfi(width);
final _handle = this.handle;
final __resultHandle = _setWidthFfi(_handle, _widthHandle);
navigine_sdk_flutter_double_ReleaseFfiHandle(_widthHandle);
final _result = navigine_sdk_flutter_bool_FromFfi(__resultHandle);
navigine_sdk_flutter_bool_ReleaseFfiHandle(__resultHandle);
return _result;
}