Status.fromMap constructor

Status.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory Status.fromMap(Map<String, dynamic> json) => Status(
  txId: json["txID"] == null ? null : json["txID"],
  code: json["code"] == null ? null : json["code"],
  delivered: json["delivered"] == null ? null : json["delivered"],
  codeNum: json["codeNum"] == null ? null : json["codeNum"],
  result: json["result"] == null ? null : StatusResult.fromMap(json["result"]),
  received: json["received"] == null ? null : json["received"],
  initiator: json["initiator"] == null ? null : json["initiator"],
  signers: json["signers"] == null ? null : List<SignerElement>.from(json["signers"].map((x) => SignerElement.fromMap(x))),
);