# PdfAttributes.fromJson constructor

PdfAttributes.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory PdfAttributes.fromJson(Map<String, dynamic> json) => PdfAttributes(
          author: json.containsKey("author")
              ? json["author"] as String
              : "Created with Scanbot SDK",
          creator: json.containsKey("creator") ? json["creator"] as String : "",
          title: json.containsKey("title") ? json["title"] as String : "",
          subject: json.containsKey("subject") ? json["subject"] as String : "",
          keywords:
              json.containsKey("keywords") ? json["keywords"] as String : "",
        );