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