min property

Object? get min

Implementation

Object? get min => _wrapped.min?.when(
      isInt: (v) => v,
      isDouble: (v) => v,
    );
set min (Object? v)

Implementation

set min(Object? v) {
  _wrapped.min = switch (v) {
    int() => v.jsify()!,
    double() => v.jsify()!,
    null => null,
    _ => throw UnsupportedError(
        'Received type: ${v.runtimeType}. Supported types are: int, double')
  };
}