logApiEvent method

Future<void> logApiEvent(
  1. String type,
  2. int status, {
  3. String message = '',
})
override

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');
}