Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'closeWebApp', if (extra != null) '@extra': extra, 'web_app_launch_id': web_app_launch_id }; }