AppEvent.analytics constructor

AppEvent.analytics(
  1. String name, {
  2. Map<String, Object?> params = const {},
})

A product analytics event and its parameters.

Implementation

AppEvent.analytics(String name, {Map<String, Object?> params = const {}})
  : channel = AppChannel.analytics,
    title = name,
    detail = null,
    data = params,
    body = null,
    error = false,
    level = null,
    origin = null;