newInstance static method

Future<QualityThresholds> newInstance({
  1. required BigInt excellent,
  2. required BigInt great,
  3. required BigInt good,
  4. required BigInt moderate,
  5. required BigInt poor,
})

Creates a new QualityThresholds instance.

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);