Payload constructor
Payload({
- required int id,
- Uint8List? bytes,
- PayloadType type = PayloadType.NONE,
- String? filePath,
- String? uri,
Implementation
Payload({
required this.id,
this.bytes,
this.type = PayloadType.NONE,
this.filePath,
this.uri,
});