| Index: packages/barback/lib/src/asset/asset.dart
|
| diff --git a/packages/barback/lib/src/asset/asset.dart b/packages/barback/lib/src/asset/asset.dart
|
| index c0f11bade6c0f8e5aa80bc6abb1cc0be5920e9d6..15794e58f81e55ba6dede29f4c4ba7223b7d67f2 100644
|
| --- a/packages/barback/lib/src/asset/asset.dart
|
| +++ b/packages/barback/lib/src/asset/asset.dart
|
| @@ -24,14 +24,12 @@ abstract class Asset {
|
| factory Asset.fromBytes(AssetId id, List<int> bytes) =>
|
| new BinaryAsset(id, bytes);
|
|
|
| - factory Asset.fromFile(AssetId id, File file) =>
|
| - new FileAsset(id, file.path);
|
| + factory Asset.fromFile(AssetId id, File file) => new FileAsset(id, file.path);
|
|
|
| factory Asset.fromString(AssetId id, String content) =>
|
| new StringAsset(id, content);
|
|
|
| - factory Asset.fromPath(AssetId id, String path) =>
|
| - new FileAsset(id, path);
|
| + factory Asset.fromPath(AssetId id, String path) => new FileAsset(id, path);
|
|
|
| factory Asset.fromStream(AssetId id, Stream<List<int>> stream) =>
|
| new StreamAsset(id, stream);
|
|
|