Future save()

Source

Future save() async {
  if (provider is! SerializableNodeProvider) {
    return;
  }

  await dataStore.store("dsa_nodes",
    DsJson.encode(
      (provider as SerializableNodeProvider).save()
    )
  );
}