EntityConfig<T extends Object> constructor
- required String type,
- required String? id,
- required EntityDecoder<
T> fromGraph, - EntityEncoder<
T> ? toGraph, - bool enabled = true,
- bool subscribe = true,
Implementation
const EntityConfig({
required this.type,
required this.id,
required this.fromGraph,
this.toGraph,
this.enabled = true,
this.subscribe = true,
});