asDecimal property

FdcDecimal? get asDecimal

Read-only fixed-scale decimal view of value. Use value to write.

Implementation

FdcDecimal? get asDecimal {
  _ensureValueAccessor(FdcDataType.decimal, 'asDecimal');
  final current = value;
  return current is FdcDecimal ? current : null;
}