toJson method
Converts a StarTransactions object to json.
Implementation
Map<String, dynamic> toJson() {
return {
'transactions': transactions.map((item) => item.toJson()).toList(),
};
}
Converts a StarTransactions object to json.
Map<String, dynamic> toJson() {
return {
'transactions': transactions.map((item) => item.toJson()).toList(),
};
}