FileVersion.fromJson constructor

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

Implementation

FileVersion.fromJson(Map<String, dynamic> json) {
  name = json['name'];
  isFolder = json['isFolder'];
  modifiedDate = json['modifiedDate'] == null
      ? null
      : DateTime.parse(json['modifiedDate']);
  size = json['size'];
  path = json['path'];
  versionId = json['versionId'];
  isLatest = json['isLatest'];
}