subscribeToOracleUpdates method
Subscribe to oracle updates
Implementation
Future<void> subscribeToOracleUpdates({
Function(OracleUcoPrice?)? onUpdate,
}) async {
await _connect(
phoenixHttpEndpoint,
websocketEndpoint,
);
_listenOracleUpdates(
onUpdate!,
);
}