streamOf function

Reference streamOf(
  1. Reference r
)

Implementation

Reference streamOf(Reference r) {
  return TypeReference((b) => b
    ..symbol = 'Stream'
    ..types.add(r));
}