asset method
- String uid
This call fetches the latest version of a specific
asset of a particular stack.
API Reference :
https://www.contentstack.com/docs/developers/apis/content-delivery-api/#single-asset
uid
assetUid
Example:
var stack = contentstack.Stack(apiKey, deliveryToken, environment);
var asset = stack.asset('uid');
Implementation
Asset asset(String uid) {
return Asset(uid, _client);
}