saveBlueprint method

Future<void> saveBlueprint(
  1. Blueprint blueprint
)

Saves a blueprint on the Hub.

Refused with a 400 if it could never apply — a dependency cycle, an undeclared variable, an include naming a preset nobody saved.

Implementation

Future<void> saveBlueprint(Blueprint blueprint) async =>
    post('/blueprints', blueprint.toJson());