toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'cryptocurrency': cryptocurrency,
'cryptocurrency_amount': cryptocurrencyAmount.toString(),
'type': type.toJson(),
'@type': constructor,
};