animationBaseToJson function
Implementation
Map<String, dynamic> animationBaseToJson(
final Map<String, dynamic> json,
HmsAnimation animation,
) {
addToJson(json, _Param.animationId, animation.animationId);
addToJson(json, _Param.animationType, animation.type);
addToJson(json, _Param.duration, animation.duration);
addToJson(json, _Param.fillMode, animation.fillMode);
addToJson(json, _Param.repeatCount, animation.repeatCount);
addToJson(json, _Param.repeatMode, animation.repeatMode);
addToJson(json, _Param.interpolator, animation.interpolator);
return json;
}