FileSystemDataSource.fromJson constructor

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

Implementation

factory FileSystemDataSource.fromJson(Map<String, dynamic> json) {
  return FileSystemDataSource(
    directoryPath: json['DirectoryPath'] as String,
    fileSystemAccessMode:
        (json['FileSystemAccessMode'] as String).toFileSystemAccessMode(),
    fileSystemId: json['FileSystemId'] as String,
    fileSystemType: (json['FileSystemType'] as String).toFileSystemType(),
  );
}