getResource abstract method
Import a resource with a certain key
, ignore those already imported
If from
is provided, the handler will try to get a relative path
Otherwise, a absolute path is calculated from root
Implementation
T getResource(String key, {String? from});