updateTitle method

Future<bool> updateTitle (
  1. String title
)

更新title

Implementation

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

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

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

  return ret;
}