toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['symbol'] = symbol;
  data['name'] = name;
  data['symbol_native'] = symbolNative;
  data['decimal_digits'] = decimalDigits;
  data['rounding'] = rounding;
  data['code'] = code;
  data['name_plural'] = namePlural;
  return data;
}