setSlots method
Implementation
bool setSlots(String slots) {
if (dotLottiePlayer != null && !isDisposed) {
try {
final player = dotLottiePlayer as JSObject;
final method = player['setSlots'.toJS] as JSFunction?;
if (method != null) {
method.callAsFunction(player, slots.toJS);
return true;
}
} catch (e) {}
}
return false;
}