TokenLedger.fromJson constructor

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

Implementation

factory TokenLedger.fromJson(Map<String, dynamic> json) => TokenLedger(
      transfers: json['transfers'] == null
          ? null
          : List<TokenTransfer>.from(json['transfers']
              .map((dynamic x) => TokenTransfer.fromJson(x))),
    );