IpLookupModel.fromJSON constructor

IpLookupModel.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory IpLookupModel.fromJSON(Map<String, dynamic> data) {
  return IpLookupModel(
    url: data[ApiKeys.url],
    resPath: List<String>.from(data[ApiKeys.resPath] ?? []),
  );
}