updateApplicationContext method

Future updateApplicationContext(
  1. Map<String, dynamic> applicationContext
)

Update and sync the ApplicationContext. ApplicationContext works like the common data between both WatchOS and IOS app, which can be updated by calling updateApplicationContext method and synced via applicationContextUpdated. You can call this method either the WatchOS companion app is in background or foreground

Implementation

Future updateApplicationContext(Map<String, dynamic> applicationContext) {
  return channel.invokeMethod("updateApplicationContext", applicationContext);
}