EventTimeInterval.fromJson(Map<String, dynamic> json) : begin = DateTime.fromMicrosecondsSinceEpoch(json['begin'] as int), end = DateTime.fromMicrosecondsSinceEpoch(json['end'] as int);