logEvent abstract method Null safety

void logEvent(
  1. String name,
  2. {Map<String, dynamic>? parameters}
)

Log event with name and parameters.