toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'uniqueId' : uniqueId,
'actionType' : actionType,
'timeStamp' : timeStamp,
'payload' : payload,
'prevState' : prevState,
'nextState' : nextState,
};
}