NetworkInfo.fromJson constructor

NetworkInfo.fromJson(
  1. Map json_
)

Implementation

NetworkInfo.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        matchedIpRange: json_.containsKey('matchedIpRange')
            ? json_['matchedIpRange'] as core.String
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );