ExplorerInfo.fromJson constructor

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

Constructs an ExplorerInfo instance from a JSON map.

The json parameter is a map containing the explorer information.

Implementation

ExplorerInfo.fromJson(Map<String, dynamic> json)
    : this.name = Convert.toStr(json['name'], ''),
      this.link = Convert.toStr(json['link'], '') {}