NodeInfo.fromJson constructor

NodeInfo.fromJson(
  1. Map json_
)

Implementation

NodeInfo.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
      );