factory PeriodicTrigger.fromJson(Map<String, dynamic> json) => FromJsonFactory().fromJson<PeriodicTrigger>(json);