UCOLedger.fromJson constructor

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

Implementation

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