init method
Implementation
@override
Future<void> init() async {
if (_initialized) return;
final result = await Connectivity().checkConnectivity();
_updateConnectionStatus(result);
Connectivity().onConnectivityChanged.listen(
_updateConnectionStatus,
);
_initialized = true;
}