toJson method
Converts the ActionInfo object to a JSON object.
Implementation
Map<String, dynamic> toJson() {
return {
'onSuccess': onSuccess?.toJson(),
'onFailure': onFailure?.toJson(),
};
}
Converts the ActionInfo object to a JSON object.
Map<String, dynamic> toJson() {
return {
'onSuccess': onSuccess?.toJson(),
'onFailure': onFailure?.toJson(),
};
}