DocumentMetadata.fromJson constructor

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

Implementation

factory DocumentMetadata.fromJson(Map<String, dynamic> json) {
  return DocumentMetadata(
    pages: json['Pages'] as int?,
  );
}