AssetId.deserialize constructor

AssetId.deserialize(
  1. List data
)

Deserializes an AssetId from data, which must be the result of calling serialize on an existing AssetId.

Implementation

AssetId.deserialize(List<dynamic> data)
    : package = data[0] as String,
      path = data[1] as String;