initializeTimeZones function
void
initializeTimeZones()
Initialize Time Zone database from latest.
Throws TimeZoneInitException when something is wrong.
Implementation
void initializeTimeZones() {
try {
initializeDatabase(Uint8List.fromList(_embeddedData.codeUnits));
}
// ignore: avoid_catches_without_on_clauses
catch (e) {
throw TimeZoneInitException(e.toString());
}
}