UptimeCheckIp.fromJson constructor

UptimeCheckIp.fromJson(
  1. Map json_
)

Implementation

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