getProperty<T> abstract method
Retrieves a typed property T stored in this domain under the given key.
Returns null if no value is found or type mismatch occurs.
Example:
var env = domain.getProperty<String>('env'); // e.g., 'dev'
Implementation
T? getProperty<T>(String key);