CloseConnectionMessage constructor

CloseConnectionMessage({
  1. String? reason,
})

Implementation

factory CloseConnectionMessage({
  $core.String? reason,
}) {
  final $result = create();
  if (reason != null) {
    $result.reason = reason;
  }
  return $result;
}