DataHandler<T> class abstract

Base class for DataSource and DataReceiver.

Constructors

DataHandler(String domain, String name, {bool register = true, DataTransformerTo<T>? transformerTo, DataTransformerToList<T>? transformerToList, DataTransformerFrom<T>? transformerFrom, DataTransformerFromList<T>? transformerFromList})

Properties

domain String
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transformerFrom DataTransformerFrom<T>?
getter/setter pair
transformerFromList DataTransformerFromList<T>?
getter/setter pair
transformerTo DataTransformerTo<T>?
getter/setter pair
transformerToList DataTransformerToList<T>?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
transformFrom(T? data) → dynamic
transformFromList(List<T>? list) → dynamic
transformOutput(Object? o) List<T?>?
transformTo(Object? o) → T?
transformToList(Object? o) List<T>?

Operators

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

Static Properties

onRegister EventStream<DataHandler>
final

Static Methods

byID<T>(String? id) DataHandler<T>?
byName<T>(String domain, String name) DataHandler<T>?
normalizeID(String? domain, String? name) String?
register(DataHandler instance) → void
splitID(String id) List<String>?