DescribeDocumentResult.fromJson constructor

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

Implementation

factory DescribeDocumentResult.fromJson(Map<String, dynamic> json) {
  return DescribeDocumentResult(
    document: json['Document'] != null
        ? DocumentDescription.fromJson(
            json['Document'] as Map<String, dynamic>)
        : null,
  );
}