AssetString.from constructor

AssetString.from(
  1. String content,
  2. String targetPath
)

Creates a new AssetString with the provided content.

Implementation

factory AssetString.from(String content, String targetPath) {
  return AssetString._privateConstructor(content, targetPath);
}