Open laterdayi opened 2 weeks ago
You already do this via the Document level api, though perhaps a little crudely.
https://pub.dev/documentation/pubspec_manager/latest/pubspec_manager/Document-class.html
Can you roughly describe which API I should use? It seems a bit confusing now.
final pubspec = PubSpec.load();
pubspec.document.getLineForKey('test1');
Supports custom field acquisition and setting