ProjectFileSystemLocation.fromJson constructor

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

Implementation

factory ProjectFileSystemLocation.fromJson(Map<String, dynamic> json) {
  return ProjectFileSystemLocation(
    identifier: json['identifier'] as String?,
    location: json['location'] as String?,
    mountOptions: json['mountOptions'] as String?,
    mountPoint: json['mountPoint'] as String?,
    type: (json['type'] as String?)?.toFileSystemType(),
  );
}