NotationAppState typedef

NotationAppState = ({List<NotationIssue> issues, Map<String, int> lines, Map<String, Json> variables})

What an app's state file declares (readNotationAppState).

variables is by name, each as NotationOptions.projectVariables takes it: a variable's record (type, and value or formula with its parameters, persist for one written saved), or for a formula with no type {"inline": formula} (notationInlineFormulaKey). lines is the line each name is declared on, issues what the file has that is not read.

Implementation

typedef NotationAppState = ({Map<String, Json> variables, Map<String, int> lines, List<NotationIssue> issues});