EntityConfig<T extends Object> class
Compatibility configuration for provider factories.
Constructors
-
EntityConfig({required String type, required String? id, required EntityDecoder<
T> fromGraph, EntityEncoder<T> ? toGraph, bool enabled = true, bool subscribe = true}) -
const
Properties
- enabled → bool
-
final
-
fromGraph
→ EntityDecoder<
T> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subscribe → bool
-
final
-
toGraph
→ EntityEncoder<
T> ? -
final
- type → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited