close abstract method

Future<VKWebAppOpenAppResult> close({
  1. String? status,
  2. Object? payload,
})

VKWebAppClose If the application was launched using the VKWebAppOpenApp event, then the parent application will receive the VKWebAppOpenAppResult event when VKWebAppClose is called.

Platforms: iOS, Android, Web, Mobile Web

status - the application close status passed to the parent application. Possible values: Possible values: failed, success payload - data passed to the parent application.

Implementation

Future<VKWebAppOpenAppResult> close({
  String? status,
  Object? payload,
});