IpMapping.fromJson constructor

IpMapping.fromJson(
  1. Map _json
)

Implementation

IpMapping.fromJson(core.Map _json)
    : this(
        ipAddress: _json.containsKey('ipAddress')
            ? _json['ipAddress'] as core.String
            : null,
        timeToRetire: _json.containsKey('timeToRetire')
            ? _json['timeToRetire'] as core.String
            : null,
        type: _json.containsKey('type') ? _json['type'] as core.String : null,
      );