code: public function get($key, $default = null)
      {
          $meta = $this->metaModel::where('key', $key)
              ->first();
  
          return $meta === null
              ? $default
              : $meta->value;
      }
docs: Get meta at given key
  for package realm
  
  @param string $key
  @param mixed  $default
  
  @return array