timeZoneOf function Null safety

TimeZone timeZoneOf(
  1. dynamic name
)

Implementation

TimeZone timeZoneOf(name) {
  return sunnyLocalization.timeZoneOf(name!.toString());
}