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