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