FixedPoint.constant constructor

FixedPoint.constant(
  1. FixedPointValue value, {
  2. String? name,
})

Constructs a constant FixedPoint from value.

Implementation

factory FixedPoint.constant(FixedPointValue value, {String? name}) =>
    FixedPoint._(Const(value.integer), Const(value.fraction), value.signed,
        name: name);