ValidatedQuantity.fromBigInt constructor

ValidatedQuantity.fromBigInt(
  1. BigInt number, {
  2. String? unit,
})

Implementation

factory ValidatedQuantity.fromBigInt(BigInt number, {String? unit}) =>
    ValidatedQuantity(value: UcumDecimal.fromBigInt(number), unit: unit);