Map<String, dynamic> toJson() => { 'amount': amount, 'nftAddress': nftAddress, 'type': type, 'from': from, };