RuntimeNetworkInfo.fromJson constructor

RuntimeNetworkInfo.fromJson(
  1. Map json_
)

Implementation

RuntimeNetworkInfo.fromJson(core.Map json_)
    : this(
        connections: json_.containsKey('connections')
            ? NetworkConnectionList.fromJson(
                json_['connections'] as core.Map<core.String, core.dynamic>)
            : null,
        scanTime: json_.containsKey('scanTime')
            ? json_['scanTime'] as core.String
            : null,
      );