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