toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.formation != null) {
json[r'formation'] = this.formation;
} else {
json[r'formation'] = null;
}
json[r'nextStages'] = this.nextStages;
return json;
}