doStopTransaction method
Future<Map?>
doStopTransaction(- BuildContext context
)
Implementation
Future<Map?> doStopTransaction(BuildContext context) async {
final bool internetStatus = await checkInternetConnection();
if (!internetStatus) {
Transitions(
context: context,
child: const NoInternetPage(),
);
}
Map? result;
try {
result = await platform.invokeMethod(
InvokeMethodsEnvironment.doStopTransaction,
);
} on PlatformException catch (platformException) {
debugPrint(platformException.stacktrace);
}
return result;
}