Map<String, dynamic> toMap() { return { 'tz_id': tzId, 'transitions': transitions.map((x) => x.toMap()).toList(), }; }