end method

Future<void> end()

Reports the end of the session frame. The SessionFrame object will no longer be usable after this call.

Method might throw Exception.

Implementation

Future<void> end() async {
  try {
    await channel.invokeMethod<void>('endSessionFrame', id);
  } on PlatformException catch (e) {
    throw Exception(e.details);
  }
}