emitEvent method

void emitEvent(
  1. DSAuthEventType type,
  2. Map<String, dynamic> data
)

Emits an event with the given type and data

Implementation

void emitEvent(DSAuthEventType type, Map<String, dynamic> data) {
  onEvent(DSAuthEvent(type: type, data: data));
}