CloseEventInit constructor

CloseEventInit({
  1. bool? wasClean,
  2. int? code,
  3. String? reason,
})

Implementation

factory CloseEventInit({bool? wasClean, int? code, String? reason}) =>
    CloseEventInit._(
        wasClean: wasClean ?? false, code: code ?? 0, reason: reason ?? '');