save method

Future<void> save({
  1. String? category,
})

Save the object.

category (Gold only) is the category to save the object to. If your user does not have gold, this value is ignored.

Implementation

Future<void> save({String? category}) async =>
    reddit.post(apiPath['save'], {'category': category ?? '', 'id': fullname},
        discardResponse: true);