updateText method
- String text
更新Text文本
text 文本
Implementation
Future<bool> updateText(String text) async {
if (null == text) {
return false;
}
bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
.updateTextMember(this.methodChannel,
{'id': this.Id, 'member': 'text', 'value': text});
if (ret) {
this.text = text;
}
return ret;
}