init method
Initializes the service, setting up persistence if configured.
Implementation
Future<void> init() async {
if (_socketConfig.persistStream) {
_prefs = await SharedPreferences.getInstance();
}
}
Initializes the service, setting up persistence if configured.
Future<void> init() async {
if (_socketConfig.persistStream) {
_prefs = await SharedPreferences.getInstance();
}
}