min method Null safety

T min(
  1. [T? ifNull]
)

Implementation

T min([T? ifNull]) {
  return minOrNull(ifNull) ?? (throw IndexError(0, this));
}