@override Map<String, dynamic> toJson() => <String, dynamic>{ 'action': action?.toJson(), '@type': constructor, };