Decimal constructor

Decimal({
  1. List<int>? value,
  2. List<int>? precision,
})

Implementation

factory Decimal({
  $core.List<$core.int>? value,
  $core.List<$core.int>? precision,
}) {
  final _result = create();
  if (value != null) {
    _result.value = value;
  }
  if (precision != null) {
    _result.precision = precision;
  }
  return _result;
}