File.fromJson constructor

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

Implementation

factory File.fromJson(Map<String, dynamic> json) {
  return File(
    absolutePath: json['absolutePath'] as String?,
    blobId: json['blobId'] as String?,
    fileMode: (json['fileMode'] as String?)?.toFileModeTypeEnum(),
    relativePath: json['relativePath'] as String?,
  );
}