parseJsonBytes static method
Implementation
static LottieComposition parseJsonBytes(List<int> bytes) {
var composition = _parse(bytes);
var parameters = composition._parameters;
if (parameters.hasUnresolvedSlotIds && parameters.slots.isNotEmpty) {
// The slots come after properties that use them in the file: parse it
// again with the slots known from the start.
composition = _parse(bytes, slots: parameters.slots);
}
return composition;
}