info: ‘typed’ is deprecated and shouldn’t be used. Use stream.cast instead.

「info: ‘typed’ is deprecated and shouldn’t be used. Use stream.cast instead.」のアイキャッチ画像

これでいけました

参考記事

How do method cascades work exactly in dart?

Dartのカスケード記法(..)はRubyでいうtap

How should I use stream.cast instead of typed?

cascade_invocations