ChromeOsDeviceLastKnownNetwork.fromJson constructor

ChromeOsDeviceLastKnownNetwork.fromJson(
  1. Map json_
)

Implementation

ChromeOsDeviceLastKnownNetwork.fromJson(core.Map json_)
    : this(
        ipAddress: json_.containsKey('ipAddress')
            ? json_['ipAddress'] as core.String
            : null,
        wanIpAddress: json_.containsKey('wanIpAddress')
            ? json_['wanIpAddress'] as core.String
            : null,
      );