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