CSSNumericType constructor

CSSNumericType({
  1. int? length,
  2. int? angle,
  3. int? time,
  4. int? frequency,
  5. int? resolution,
  6. int? flex,
  7. int? percent,
  8. CSSNumericBaseType? percentHint,
})

Implementation

factory CSSNumericType(
        {int? length,
        int? angle,
        int? time,
        int? frequency,
        int? resolution,
        int? flex,
        int? percent,
        CSSNumericBaseType? percentHint}) =>
    CSSNumericType._(
        length: length ?? undefined,
        angle: angle ?? undefined,
        time: time ?? undefined,
        frequency: frequency ?? undefined,
        resolution: resolution ?? undefined,
        flex: flex ?? undefined,
        percent: percent ?? undefined,
        percentHint: percentHint?.value ?? undefined);