TimeZoneComponent constructor

const TimeZoneComponent({
  1. required TimeZoneIdentifierProperty timeZoneIdentifier,
  2. LastModifiedProperty? lastModified,
  3. TimeZoneUrlProperty? timeZoneUrl,
  4. List<StandardTimeZoneComponent>? standardTimeZones,
  5. List<DaylightTimeZoneComponent>? daylightTimeZones,
})

Implementation

const TimeZoneComponent({
  required this.timeZoneIdentifier,
  this.lastModified,
  this.timeZoneUrl,
  this.standardTimeZones,
  this.daylightTimeZones,
})  : assert(
        standardTimeZones != null || daylightTimeZones != null,
        "one of standardTimeZones or daylightTimeZones MUST occur",
      ),
      super("VTIMEZONE");