updateTextures method

Future<bool> updateTextures (
  1. List<String> textures
)

更新纹理textures (ios暂不支持)

Implementation

Future<bool> updateTextures(List<String> textures) async {
  if (null == textures) {
    return false;
  }

  this.textures = textures;

  return await BMFMapDispatcherFactory.instance
      .getOverlayDispatcher()
      .updateOverlayMemberDispatch(this.getMethodChannel(), {
    'id': this.getId(),
    'member': 'textures',
    'value': textures?.map((e) => e)?.toList(),
  });
}