DocumentVersionInfo.fromJson constructor

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

Implementation

factory DocumentVersionInfo.fromJson(Map<String, dynamic> json) {
  return DocumentVersionInfo(
    createdDate: timeStampFromJson(json['CreatedDate']),
    documentFormat: (json['DocumentFormat'] as String?)?.toDocumentFormat(),
    documentVersion: json['DocumentVersion'] as String?,
    isDefaultVersion: json['IsDefaultVersion'] as bool?,
    name: json['Name'] as String?,
    reviewStatus: (json['ReviewStatus'] as String?)?.toReviewStatus(),
    status: (json['Status'] as String?)?.toDocumentStatus(),
    statusInformation: json['StatusInformation'] as String?,
    versionName: json['VersionName'] as String?,
  );
}