deleteAll method

Future<List<Map>> deleteAll()

Deletes all Redditor flair in the Subreddit.

Returns Future<List<Map>> containing the success or failure of each delete.

Implementation

Future<List<Map>> deleteAll() async {
  final updates = <Flair>[];
  await for (final f in call()) {
    updates.add(Flair(f.user));
  }
  return update(updates);
}