toJson method
Implementation
Map<String, Object?> toJson() {
var expand = this.expand;
var transitions = this.transitions;
final json = <String, Object?>{};
if (expand != null) {
json[r'expand'] = expand;
}
json[r'transitions'] = transitions.map((i) => i.toJson()).toList();
return json;
}