Realtime constructor
Implementation
Realtime({
required this.clientId,
required this.authCallback,
}) {
platform.invokeMethod(
rtHashCode: hashCode,
method: "Realtime()",
args: {
"clientId": clientId,
"authCallback": platform.allowInterop(_authCallback),
},
);
connection = Connection(hashCode);
channels = Channels(hashCode);
}