SecurityRoot.fromJson constructor

SecurityRoot.fromJson(
  1. String json
)

A necessary factory constructor for creating a new AssetCode instance from a map. The constructor is named after the source class, in this case, AssetCode.

Implementation

factory SecurityRoot.fromJson(String json) {
  return SecurityRoot.fromBase58(Base58Data.validated(json));
}