Data.fromJson constructor Null safety

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

Implementation

factory Data.fromJson(Map<String, dynamic> json) => Data(
      content: json["content"],
      code: json["code"],
      keys: Keys.fromJson(json["keys"]),
      ledger: Ledger.fromJson(json["ledger"]),
      recipients: List<Uint8List>.from(json["recipients"].map((x) => x)),
    );