updateRole abstract method

Future<Role?> updateRole({
  1. required Snowflake id,
  2. required Snowflake serverId,
  3. required Map<String, dynamic> payload,
  4. required String? reason,
})

Implementation

Future<Role?> updateRole(
    {required Snowflake id,
    required Snowflake serverId,
    required Map<String, dynamic> payload,
    required String? reason});