code: function callFirestore(firebaseInstance, callInfoObj) {
    // console.log('calling devshare:', callInfoObj, Devshare)
    const { method } = callInfoObj;
    let { modelArgs, methodArgs } = callInfoObj;
    // Start call chain
    // Wrap args in array if not already
    if (!isArray(modelArgs)) modelArgs = [modelArgs];
    if (!isArray(methodArgs)) methodArgs = [methodArgs];
    if (!firebaseInstance || !firebaseInstance.firestore) {
      throw new Error('firestore is not a Firebase namespace');
    }
  
    // Make devshare method call with array of params
    return !methodArgs
      ? firebaseInstance.firestore()[method]
      : firebaseInstance.firestore()[method].apply(firebaseInstance, methodArgs);
  }
docs: Fetches an API response and normalizes the result JSON according to schema. This makes every API response have the same shape, regardless of how nested it was. /* istanbul ignore next not yet in use