info static method

Future<void> info(
  1. String message, {
  2. String? category,
  3. String? tag,
  4. Map<String, dynamic>? metadata,
  5. bool shouldNotify = false,
})

Log an info message. Auto-initializes if needed.

Implementation

static Future<void> info(String message, {String? category, String? tag, Map<String, dynamic>? metadata, bool shouldNotify = false}) async {
  await _autoInitialize();
  await instance._repository.info(message, category: category, tag: tag, metadata: metadata);

  if (shouldNotify) {
    VooToast.showInfo(message: message, title: category ?? 'Info');
  }
}