EntityEventSource mixin

Properties

entityId String
The unique ID of the entity this source
no setter
fieldsByName Map<String, Map<String, dynamic>>
no setter
hashCode int
The hash code for this object.
no setterinherited
read TinkFieldReader
The reader to use to deserialise entity fields
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

allFields(Future onField(String fieldName, dynamic value)) Future<void>
Provides a mechanism for fetching all values of all fields in this entity. The future returned will complete when all fields have been fetched and successfully passed to onField. Note that for large numbers of fields or data, several network requests may be made to produce all the data needed. The implementation may, at its discretion fetch the data via individual requests or over a persistent stream like web sockets.
ensureResolved(dynamic input) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
valueOf(String fieldName) Future
To get the value of a field. For primitives i.e. String, int, double etc This returns immediately. For non-primitives, it may result in a network request to load the value of that field

Operators

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