submitApiCall method
Implementation
@override
Future<void> submitApiCall(Map<String, dynamic> data) async {
await LogbotSetupApiManager.device.setLicense(
LicenseToken(token: controller.text),
dryrun: true,
uuidToken: LogbotSetupEnv().deviceId);
await Future.delayed(Duration(seconds: LogbotSetupEnv.submitDelay));
widget.onSuccess(controller.text);
}