startChecklist static method
startChecklist
Starts a new checklist for the given outbound.
Available Platforms
Web, Android, iOS
Implementation
static Future<void> startChecklist(
{required String outboundId, required bool showBackButton}) async {
if (!kIsWeb && !io.Platform.isAndroid && !io.Platform.isIOS) {
debugPrint(
'outboundId is not available for current operating system',
);
return;
}
await _channel.invokeMethod('startChecklist',
{'outboundId': outboundId, 'showBackButton': showBackButton});
}