Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:async
  3. Stream<T>
  4. cast<R> method
cast
description

cast<R> method

Stream<R>cast<R>()

Adapt this stream to be aStream<R>.

This stream is wrapped as aStream<R> which checks at run-time thateach data event emitted by this stream is also an instance ofR.

Implementation

Stream<R> cast<R>() => Stream.castFrom<T, R>(this);
  1. Dart
  2. dart:async
  3. Stream<T>
  4. cast<R> method
Stream class

[8]ページ先頭

©2009-2025 Movatter.jp