IspInfo.fromJson constructor

IspInfo.fromJson(
  1. Map<String, dynamic> json
)

Creates an IspInfo from a JSON object.

Implementation

factory IspInfo.fromJson(Map<String, dynamic> json) => IspInfo(
      asn: json['asn'] ?? '',
      org: json['org'] ?? '',
      isp: json['isp'] ?? '',
    );