closeApplet method

Future<void> closeApplet(
  1. String appletId,
  2. bool animated
)

关闭小程序 小程序会在内存中存在

Implementation

Future<void> closeApplet(String appletId, bool animated) async {
  await _channel.invokeMethod(
      "closeApplet", {"appletId": appletId, "animated": animated});
  return;
}