subtitle property

NSString? get subtitle
override

The string containing the annotation’s subtitle.

This string is displayed in the callout for the associated annotation.

Implementation

objc.NSString? get subtitle {
  if (!objc.respondsToSelector(this.ref.pointer, _sel_subtitle)) {
    throw objc.UnimplementedOptionalMethodException(
        'MLNMultiPolygon', 'subtitle');
  }
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_subtitle);
  return _ret.address == 0 ? null : objc.NSString.castFromPointer(_ret, retain: true, release: true);
}
set subtitle (NSString? value)
inherited

The subtitle of the shape annotation. The default value of this property is nil.

This property is ignored when the shape is used in an MLNShapeSource. To provide additional information about a shape used in a shape source, create an MLNFeature and add an attribute to the MLNFeature/attributes property.

Implementation

set subtitle(objc.NSString? value) {
_objc_msgSend_xtuoz7(this.ref.pointer, _sel_setSubtitle_, value?.ref.pointer ?? ffi.nullptr);

}