NetworkInterface.fromJson constructor

NetworkInterface.fromJson(
  1. Map json_
)

Implementation

NetworkInterface.fromJson(core.Map json_)
    : this(
        network: json_.containsKey('network')
            ? json_['network'] as core.String
            : null,
        nicType: json_.containsKey('nicType')
            ? json_['nicType'] as core.String
            : null,
        subnet: json_.containsKey('subnet')
            ? json_['subnet'] as core.String
            : null,
      );