Decimal.fromJson constructor
Decimal.fromJson(
- Object? j
Implementation
factory Decimal.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return Decimal(
value: switch (json['value']) {
null => '',
Object $1 => decodeString($1),
},
);
}