CloseImpressionEvent.fromMap constructor

CloseImpressionEvent.fromMap(
  1. Map map
)

Implementation

factory CloseImpressionEvent.fromMap(Map<dynamic, dynamic> map) {
  return CloseImpressionEvent(
    adId: map[NativeArguments.adId] as String?,
    completionState:
        ShowCompletionState.fromInt(map[NativeArguments.completionState]),
  );
}