WorkspacePackage.fromMap constructor

WorkspacePackage.fromMap(
  1. Map<Object?, Object?> value
)

Implementation

factory WorkspacePackage.fromMap(Map<Object?, Object?> value) {
  return WorkspacePackage(
    id: _requiredString(value, 'id'),
    path: _requiredString(value, 'path'),
    roots: _requiredStrings(value, 'roots'),
  );
}