Map<String, Object> toMap({raw: false}) { return { "tokenType": tokenType, "transactionType": transactionType, "data": data.toMap(raw: raw) }; }