updateSubTitle method

Future<bool> updateSubTitle (
  1. String subtitle
)

更新subTitle

Implementation

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

  bool ret = await BMFMapDispatcherFactory.instance.markerDispatcher
      .updateMarkerMember(this.methodChannel, {
    'id': this.Id,
    'member': 'subtitle',
    'value': subtitle,
  });

  if (ret) {
    this.subtitle = subtitle;
  }

  return ret;
}