Returns a Map representation of this Keyframe.
Map<String, String> toMap() { return { ...style.toKeyframeMap(), 'offset': '$offset', if (easing != null) 'easing': '$easing' }; }