Currently new notes stored as a string separated by the symbol | in a local file. While reading the file, it is split into a list using a split function and taking the parameter as | symbol. Therefore, if a user wants to use | symbol for their note, it would cause an anomaly
Possible way of rectifying
Using the dart:convert library to convert the JSON to string before reading and vice versa before writing
The JSON format should be [{"note":"Note 1 Example"},{"note":"Note 2 Example"}]
What is the issue?
Currently new notes stored as a string separated by the symbol | in a local file. While reading the file, it is split into a list using a split function and taking the parameter as | symbol. Therefore, if a user wants to use | symbol for their note, it would cause an anomaly
Possible way of rectifying
Bounty Points 25