source property

Object get source

The underlying source of this resource.

This can be either:

  • A String, which may represent inline content or a path-like string.
  • An Asset object.

Example

final resource = AssetResource('config: value');
print(resource.source); // 'config: value'

Implementation

Object get source;