releaseAmapLocationFluttifyPool function

Future<void> releaseAmapLocationFluttifyPool()

Implementation

Future<void> releaseAmapLocationFluttifyPool() async {
  final isCurrentPlugin = (Ref it) => it.tag__ == kAmapLocationFluttifyProjectName;
  await gGlobalReleasePool.where(isCurrentPlugin).release_batch();
  gGlobalReleasePool.removeWhere(isCurrentPlugin);
}