Ledger.fromJson constructor

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

Implementation

factory Ledger.fromJson(Map<String, dynamic> json) => Ledger(
      token:
          json['token'] == null ? null : TokenLedger.fromJson(json['token']),
      uco: json['uco'] == null ? null : UCOLedger.fromJson(json['uco']),
    );