IpConfig.fromJson constructor

IpConfig.fromJson(
  1. Map json_
)

Implementation

IpConfig.fromJson(core.Map json_)
    : this(
        ipAddress: json_.containsKey('ipAddress')
            ? json_['ipAddress'] as core.String
            : null,
        ports: json_.containsKey('ports')
            ? (json_['ports'] as core.List)
                .map((value) => value as core.int)
                .toList()
            : null,
      );