Path.fromJson constructor

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

Implementation

factory Path.fromJson(Map<String, dynamic> json) {
  return Path(
      proof: (json["proof"] as List).cast(),
      index: json["index"],
      leaf: json["leaf"],
      padding: json["padding"]);
}