submit method
Implementation
@override
Future<SubmitResponse> submit() async {
final Map response =
await _channel.invokeMethod('submitDeviceIntelligence');
BaseInsights? insights;
if (response['insights'] != null) {
insights = _InsightsParser.parseInsights(response['insights']);
}
return SubmitResponse(
message: response['message'],
eventId: response['eventId'],
insights: insights,
);
}