setTitle method
@brief Method is used to set the title of the map object. @param title The title to display on the location view. @return true if the operation is successful, false otherwise.
Dart code snippet: @snippet location_window_map_objects_example.dart dart_MapObject_setTitle
Implementation
@override
bool setTitle(String title) {
final _setTitleFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Uint8 Function(Pointer<Void>, Pointer<Void>),
int Function(Pointer<Void>, Pointer<Void>)
>('navigine_sdk_flutter_MapObject_setTitle__Title'));
final _titleHandle = navigine_sdk_flutter_String_ToFfi(title);
final _handle = this.handle;
final __resultHandle = _setTitleFfi(_handle, _titleHandle);
navigine_sdk_flutter_String_ReleaseFfiHandle(_titleHandle);
final _result = navigine_sdk_flutter_bool_FromFfi(__resultHandle);
navigine_sdk_flutter_bool_ReleaseFfiHandle(__resultHandle);
return _result;
}