PresentationConnectionCloseEventInit constructor

PresentationConnectionCloseEventInit({
  1. required PresentationConnectionCloseReason reason,
  2. String? message,
})

Implementation

factory PresentationConnectionCloseEventInit(
        {required PresentationConnectionCloseReason reason,
        String? message}) =>
    PresentationConnectionCloseEventInit._(
        reason: reason.value, message: message ?? '');