logApiEvent method
Implementation
Future<void> logApiEvent(String type, int status,
{String message = ''}) async {
await analytics?.logEvent(
name: 'ap_api',
parameters: <String, dynamic>{
'type': type,
'status': status,
'message': message,
},
);
debugPrint('logEvent succeeded');
}