toJson method
Implementation
Map<String, dynamic> toJson() {
final actions = this.actions;
final name = this.name;
final blockers = this.blockers;
return {
'actions': actions,
'name': name,
if (blockers != null) 'blockers': blockers,
};
}