TinkStateEvent<S> constructor
TinkStateEvent<S> (
- String name,
- S value,
- TinkStateEventType type,
- bool asProvider, {
- Ulid? id,
- Actor? actor,
Implementation
factory TinkStateEvent(
String name, S value, TinkStateEventType type, bool asProvider,
{Ulid? id, Actor? actor}) {
return TinkStateEvent._(
id ??= Ulid(),
name,
value,
actor ??= unknown,
type,
asProvider,
);
}