Ledger.fromJson constructor Null safety

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

Implementation

factory Ledger.fromJson(Map<String, dynamic> json) => Ledger(
      uco: Uco.fromJson(json['uco']),
      nft: Nft.fromJson(json['nft']),
    );