toJson method

Map<String, dynamic> toJson()

Converts a StarTransactions object to json.

Implementation

Map<String, dynamic> toJson() {
  return {
    'transactions': transactions.map((item) => item.toJson()).toList(),
  };
}