saveSession method
Implementation
@override
Future<int?> saveSession(double contextId,
    {required String path, required double size}) async {
  return await methodChannel.invokeMethod<int>(
      "saveSession", {"contextId": contextId, "path": path, "size": size});
}