CheckLinkResponse.fromJson constructor

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

Converts a JSON map into a CheckLinkResponse object.

Implementation

factory CheckLinkResponse.fromJson(Map<String, dynamic> json) {
  return CheckLinkResponse(
    url: json['url'],
    filename: json['filename'],
    size: json['size'],
    status: json['status'],
  );
}