NetworkAdapterDetails.fromJson constructor

NetworkAdapterDetails.fromJson(
  1. Map json_
)

Implementation

NetworkAdapterDetails.fromJson(core.Map json_)
    : this(
        adapterType: json_.containsKey('adapterType')
            ? json_['adapterType'] as core.String
            : null,
        addresses: json_.containsKey('addresses')
            ? NetworkAddressList.fromJson(
                json_['addresses'] as core.Map<core.String, core.dynamic>)
            : null,
        macAddress: json_.containsKey('macAddress')
            ? json_['macAddress'] as core.String
            : null,
      );