public static Server ToServer(this Couchbase.Lite.IMutableDictionary dico)
        {
            Server server = new Server
            {
                Login     = dico.GetString("login"),
                Id        = dico.GetString("id"),
                Password  = dico.GetString("password"),
                UrlServer = dico.GetString("urlServer")
            };

            return(server);
        }
        public static SynchroEx ToSynchroEx(this Couchbase.Lite.IMutableDictionary dico)
        {
            SynchroEx synchroEx = new SynchroEx();

            if (!string.IsNullOrEmpty(dico.GetString("dateException")))
            {
                synchroEx.DateException = dico.GetDate("dateException").DateTime;
            }
            synchroEx.Id      = dico.GetString("id");
            synchroEx.Message = dico.GetString("message");

            return(synchroEx);
        }