getProperty<T> abstract method

T? getProperty<T>(
  1. String key
)

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);