save method

Future<void> save()

Persists the workflow, which publishes it.

Implementation

Future<void> save() async {
  final DVWorkflowDocument saving = _document;
  await _store.save(saving);
  _deployed = jsonEncode(saving.toJson());
  notifyListeners();
}