release method

Future<void> release()

释放当前引用对象

Implementation

Future<void> release() async {
  await kMethodChannel
      .invokeMethod('PlatformService::release', {'refId': refId});
}