newInstance static method
Creates a new custom `QualityThresholds` instance.
Arguments
excellent- Threshold for 'Excellent' (ms).great- Threshold for 'Great' (ms).good- Threshold for 'Good' (ms).moderate- Threshold for 'Moderate' (ms).poor- Threshold for 'Poor' (ms).
Implementation
static Future<QualityThresholds> newInstance(
{required BigInt excellent,
required BigInt great,
required BigInt good,
required BigInt moderate,
required BigInt poor}) =>
RustLib.instance.api.crateApiModelsConfigQualityThresholdsNew(
excellent: excellent,
great: great,
good: good,
moderate: moderate,
poor: poor);