Payload constructor

Payload({
  1. required String type,
  2. required String value,
})

Implementation

Payload({required this.type, required this.value});