code: public function all()
      {
          $meta = $this->metaModel::get(['key', 'value', 'type']);
  
          $data = [];
          foreach ($meta as $m) {
              $data[$m->key] = $m->value;
          }
  
          return $data;
      }
docs: Get all meta
  for package realm
  
  @return array