factory DecimalNumber.fromJson(Map<String, dynamic> json) { return DecimalNumber( scale: json['Scale'] as int, unscaledValue: _s.decodeUint8List(json['UnscaledValue']! as String), ); }