operator [] method

TimeZone? operator [](
  1. String? code
)

Get a timezone by the IANA/Olson code for the current date and time.

Implementation

TimeZone? operator [](String? code) {
  return get(code);
}