Evidence.fromJson constructor

Evidence.fromJson(
  1. String json
)

A necessary factory constructor for creating a new Evidence instance from a map. Pass the map to the generated _$EvidenceFromJson() constructor. The constructor is named after the source class, in this case, Evidence.

Implementation

factory Evidence.fromJson(String json) => Evidence.fromBase58(json);