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