getResource<T> method

T getResource<T>(
  1. String name, {
  2. bool fresh = false,
  3. String context = 'utopia',
})

Get a resource

Implementation

T getResource<T>(
  String name, {
  bool fresh = false,
  String context = 'utopia',
}) =>
    _di.get<T>(name, fresh: fresh, context: context);