enrich method Null safety

Future<Map<String, dynamic>> enrich(
  1. String level,
  2. String message,
  3. {Object? error,
  4. StackTrace? stackTrace,
  5. Map<String, dynamic>? fields,
  6. Map<String, String>? tags}
)

Implementation

Future<Map<String, dynamic>> enrich(
  String level,
  String message, {
  Object ?error,
  StackTrace? stackTrace,
  Map<String, dynamic>? fields,
  Map<String, String>? tags,
}) async {
  return {};
}