<?php
declare(strict_types=1);
namespace PpPhp\Packages\Ui\Ppui\Foundation\Definitions;
final class PropertyDefinition extends AbstractDefinition
{
    public function type(): string { return (string)($this->metadata['type'] ?? 'text'); }
    public function group(): string { return (string)($this->metadata['group'] ?? 'General'); }
    public function default(): mixed { return $this->metadata['default'] ?? null; }
}
