updateSubTitle method

Future<bool> updateSubTitle (
  1. String subtitle
)

更新subTitle

Implementation

Future<bool> updateSubTitle(String subtitle) async {
  if (null == subtitle) {
    return false;
  }

  this.subtitle = subtitle;

  return await BMFMapDispatcherFactory.instance
      .getMarkerDispatcher()
      .updateMarkerMember(this.getMethodChannel(), {
    'id': this.getId(),
    'member': 'subtitle',
    'value': subtitle,
  });
}