🅵
Size: a a a
🅵
T
T
T
T
🅵
import 'dart:async';
class Section {
final int id;
Section(this.id);
@override
String toString() => '<Section #${this.id.toString()}>';
@override
int get hashCode => this.id;
}
Stream<List<Section>> stream() =>
Stream
.fromIterable(<List<Section>>[<Section>[Section(1)], <Section>[Section(2)], <Section>[Section(3)]])
.map<List<Section>>((list) => list.toList()..insert(0, Section(99)));
void main() {
stream().listen((List<Section> list) => print(list));
}
🅵
T
import 'dart:async';
class Section {
final int id;
Section(this.id);
@override
String toString() => '<Section #${this.id.toString()}>';
@override
int get hashCode => this.id;
}
Stream<List<Section>> stream() =>
Stream
.fromIterable(<List<Section>>[<Section>[Section(1)], <Section>[Section(2)], <Section>[Section(3)]])
.map<List<Section>>((list) => list.toList()..insert(0, Section(99)));
void main() {
stream().listen((List<Section> list) => print(list));
}
at
🅵
T
Т
DK
PI
PI
DK
DK
PI
PI