MyError.websocketClosed constructor

const MyError.websocketClosed({
  1. required String message,
})

Implementation

const factory MyError.websocketClosed({
  required String message,
}) = MyError_WebsocketClosed;