StarTransactions.fromJson constructor

StarTransactions.fromJson(
  1. Map<String, dynamic> json
)

Creates a new StarTransactions object from json.

Implementation

factory StarTransactions.fromJson(Map<String, dynamic> json) {
  return StarTransactions(
    transactions: (json['transactions'] as List)
        .map((item) => StarTransaction.fromJson(item))
        .toList(),
  );
}