updateTimeZone method

  1. @override
Future<void> updateTimeZone({
  1. required String timeZoneId,
})
override

Updates the user’s time zone. timeZoneId is passed on to the native updateTimeZone function of the native is invoked

Implementation

@override
Future<void> updateTimeZone({required String timeZoneId}) async {
  await methodChannel.invokeMethod<void>('updateTimeZone', <String, dynamic>{
    'timeZoneId': timeZoneId,
  });
}