fromJson static method

GuildRoleDeleteEvent fromJson(
  1. Map<String, dynamic> json
)

Implementation

static GuildRoleDeleteEvent fromJson(Map<String, dynamic> json) {
  return GuildRoleDeleteEvent(
    guildId: json['guild_id'],
    roleId: json['role_id'],
  );
}