StreamEntryDto constructor

StreamEntryDto({
  1. required String id,
  2. required String name,
  3. required String typeLabel,
  4. required String? lastValue,
  5. required String? lastError,
  6. required int listenerCount,
  7. required String? lastEmittedAt,
  8. required bool isClosed,
  9. required String? closedAt,
  10. required bool isInjectable,
  11. required bool isSubject,
})

Creates a stream-entry snapshot. Prefer StreamEntryDto.fromEntry.

Implementation

StreamEntryDto({
  required this.id,
  required this.name,
  required this.typeLabel,
  required this.lastValue,
  required this.lastError,
  required this.listenerCount,
  required this.lastEmittedAt,
  required this.isClosed,
  required this.closedAt,
  required this.isInjectable,
  required this.isSubject,
});