updateRole method
Implementation
Future<void> updateRole(Role role) async {
final db = await database;
await db.update(
'roles',
role.toMap(),
where: 'id = ?',
whereArgs: [role.id],
conflictAlgorithm: ConflictAlgorithm.replace,
);
}