Map<String, dynamic> toJson() { return <String, dynamic>{ if (operation != null) r'operation': operation, }; }