RelayJit constructor
RelayJit({
- required String url,
- required dynamic onMessage(),
Implementation
RelayJit({
required String url,
required this.onMessage,
}) : super(url) {
String? cleanUrl = cleanRelayUrl(url);
if (cleanUrl == null) {
throw Exception("invalid url $url => $cleanUrl");
}
super.url = cleanUrl;
}