'How to set anlyzer language option warning level?

currently I'm trying to bring type check analyzer to flutter project. however tons of type check error was occuring, so that I changed rule level. I added warning key to yml, but warning level is not changing. Is there any good way to change analyzer warning level. below code is what I wrote

analyzer:
  errors:
    language:
      strict-casts: info


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source