FileDetail.fromJson constructor

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

Implementation

factory FileDetail.fromJson(Map<String, dynamic> json) {
  return FileDetail(
    name: json['name'],
    path: json['path'],
    lastModified: json['last_modified'],
    size: json['size'],
    type: json['type'],
  );
}