ScoreRange_ constructor

ScoreRange_({
  1. Unbounded_? unboundedMin,
  2. double? minInclusive,
  3. Unbounded_? unboundedMax,
  4. double? maxExclusive,
})

Implementation

factory ScoreRange_({
  Unbounded_? unboundedMin,
  $core.double? minInclusive,
  Unbounded_? unboundedMax,
  $core.double? maxExclusive,
}) {
  final $result = create();
  if (unboundedMin != null) {
    $result.unboundedMin = unboundedMin;
  }
  if (minInclusive != null) {
    $result.minInclusive = minInclusive;
  }
  if (unboundedMax != null) {
    $result.unboundedMax = unboundedMax;
  }
  if (maxExclusive != null) {
    $result.maxExclusive = maxExclusive;
  }
  return $result;
}