getMixByName method
Returns the mix duration to use when changing from the specified animation to the other, or the getDefaultMix if no mix duration has been set.
Implementation
double getMixByName(String fromName, String toName) {
final fromNative = fromName.toNativeUtf8(allocator: _allocator);
final toNative = toName.toNativeUtf8(allocator: _allocator);
final duration = _bindings.spine_animation_state_data_get_mix_by_name(_data, fromNative.cast(), toNative.cast());
_allocator.free(fromNative);
_allocator.free(toNative);
return duration;
}