toJson method

Map<String, dynamic> toJson()

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,
  };
}