RuntimeEvent constructor

const RuntimeEvent({
  1. required RuntimeEventType type,
  2. RuntimeEventSourceType sourceType = const RuntimeEventSourceType.fromRawValue(0),
  3. int source = 0,
  4. int generation = 0,
  5. String message = '',
  6. 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,
});