enableApm static method

  1. @Deprecated('Use setRecordAppStartTime of CountlyConfig instead')
Future<String?> enableApm()

Enable APM features, which includes the recording of app start time. Should be call before Countly init

Implementation

@Deprecated('Use setRecordAppStartTime of CountlyConfig instead')
static Future<String?> enableApm() async {
  log('Calling "enableApm"');
  log('enableApm is deprecated, use setRecordAppStartTime of CountlyConfig instead', logLevel: LogLevel.WARNING);
  final String? result = await _channel.invokeMethod('enableApm');

  return result;
}