toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (currencyCode != null) {
    _json["currencyCode"] = currencyCode;
  }
  if (numDecimalPlaces != null) {
    _json["numDecimalPlaces"] = numDecimalPlaces;
  }
  if (numberFormatType != null) {
    _json["numberFormatType"] = numberFormatType;
  }
  if (suffix != null) {
    _json["suffix"] = (suffix).toJson();
  }
  return _json;
}