state method
Implementation
@override
Future<WatchConnectivityState> state() async {
final state = await methodChannel.invokeMapMethod<Object?, Object?>(
'state',
);
return WatchConnectivityState.fromMap(state ?? const {});
}
@override
Future<WatchConnectivityState> state() async {
final state = await methodChannel.invokeMapMethod<Object?, Object?>(
'state',
);
return WatchConnectivityState.fromMap(state ?? const {});
}