RepositoryData<T> class abstract

Base interface for repository data holders.

RepositoryData provides a common interface for accessing data from repositories, whether mutable or immutable. It offers both direct value access and observable LiveData.

See also:

Implementers

Constructors

RepositoryData()

Properties

hashCode → int
The hash code for this object.
no setterinherited
live → LiveData<T>
Returns a LiveData that observes this repository data.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → T
The current value.
no setter

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
transform<S>(S transform(LiveData<T> data)) → LiveData<S>
Transforms the data into a different type.

Operators

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