resource<T> method

T? resource<T>()

Implementation

T? resource<T>() => (resources[T] as T?);