updateTitle method

Future<bool> updateTitle (
  1. String title
)

更新title

Implementation

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

  this.title = title;

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