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