StreamError constructor

const StreamError({
  1. required String message,
  2. String? errorType,
})

Implementation

const StreamError({required this.message, this.errorType});