getLocalTimezone method
Returns local timezone from the native layer.
Implementation
@override
Future<String?> getLocalTimezone() async {
final String? localTimezone =
await methodChannel.invokeMethod("getLocalTimezone");
if (localTimezone == null) {
throw ArgumentError("Invalid return from platform getLocalTimezone()");
}
return localTimezone;
}