enable method

Future<String> enable(
  1. String name
)

Returns the change ID for this operation, use getChange to get the status of this operation.

Implementation

Future<String> enable(String name) async {
  var request = <String, dynamic>{'action': 'enable'};
  var encodedName = Uri.encodeComponent(name);
  return await _postAsync('/v2/snaps/$encodedName', request);
}