DataFeedController<T> class Null safety

DataFeed Controller

This class is used to organize all the stream controllers used.

Constructors

DataFeedController()

Properties

data List<T>
read / write
dataFeedSink StreamSink<List<T>>
Exposing data feed
read-only
dataFeedStream Stream<List<T>>
read-only
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
statusSink StreamSink<ConnectionStatus>
Exposing status feed
read-only
statusStream Stream<ConnectionStatus>
read-only

Methods

appendData(List<T> value) → void
Appends data
dispose() → void
Dispose method to close all stream controllers
flushData() → void
Adds an empty array to the stream
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
replaceData(int index, T value) → void
Find and replace the objects by index
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited