DataProfileResult_Profile_Field_ProfileInfo constructor

Implementation

factory DataProfileResult_Profile_Field_ProfileInfo({
  $core.double? nullRatio,
  $core.double? distinctRatio,
  $core.Iterable<DataProfileResult_Profile_Field_ProfileInfo_TopNValue>? topNValues,
  DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo? stringProfile,
  DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo? integerProfile,
  DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo? doubleProfile,
}) {
  final $result = create();
  if (nullRatio != null) {
    $result.nullRatio = nullRatio;
  }
  if (distinctRatio != null) {
    $result.distinctRatio = distinctRatio;
  }
  if (topNValues != null) {
    $result.topNValues.addAll(topNValues);
  }
  if (stringProfile != null) {
    $result.stringProfile = stringProfile;
  }
  if (integerProfile != null) {
    $result.integerProfile = integerProfile;
  }
  if (doubleProfile != null) {
    $result.doubleProfile = doubleProfile;
  }
  return $result;
}