getAllZones method

Future<Iterable<DateTimeZone>> getAllZones()

Returns a sequence of time zones from the specified provider, in the same order in which the IDs are returned by the provider.

Implementation

Future<Iterable<DateTimeZone>> getAllZones() async {
  // var ids = await GetIds();
  var futureZones = ids.map((id) => this[id]);
  return await Future.wait(futureZones);
}