delete method

Future<void> delete(
  1. String? reason
)

Delete this role.

await role.delete('Testing');

Implementation

Future<void> delete(String? reason) async {
  await dataStoreRole.deleteRole(id: id, guildId: server.id, reason: reason);
}