StreamPollFetchResponse constructor
StreamPollFetchResponse(
- int requestId, {
- required int status,
- bool success = true,
- Uint8List? data,
- TransferableTypedData? transferableData,
- AdoptedNativePayload? adoptedNative,
- bool hasMore = false,
- String? error,
Implementation
StreamPollFetchResponse(
super.requestId, {
required this.status,
this.success = true,
Uint8List? data,
TransferableTypedData? transferableData,
AdoptedNativePayload? adoptedNative,
this.hasMore = false,
this.error,
}) : _data = data,
_transferableData = transferableData,
_adoptedNative = adoptedNative;