RuntimeEvent constructor
- required RuntimeEventType type,
- RuntimeEventSourceType sourceType = const RuntimeEventSourceType.fromRawValue(0),
- int source = 0,
- int generation = 0,
- String message = '',
- required RuntimeEventPayload payload,
Implementation
const RuntimeEvent({
required this.type,
this.sourceType = const RuntimeEventSourceType.fromRawValue(0),
this.source = 0,
this.generation = 0,
this.message = '',
required this.payload,
});