frame method
- int frame
The frame parameter fetches the first frame from an animated GIF (Graphics Interchange Format) file that comprises a sequence of moving images. For more details, Read documentation: https://www.contentstack.com/docs/developers/apis/image-delivery-api/#frame
Example:
final stack = contentstack.Stack(apiKey, deliveryToken, environment);
final imageTransformation = stack.imageTransform(imageUrl);
final response = await imageTransformation.frame(30).fetch();
Implementation
void frame(int frame) {
query.append('frame', frame.toString());
}