ScoreRange_ constructor

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

Implementation

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