toMap method Null safety
- @override
model -> map
Implementation
@override
Map<String, Object?> toMap() {
return {
'animate': this.animate,
'delay': this.delay,
'duration': this.duration,
'fromValue': this.fromValue,
'toValue': this.toValue,
'easingCurve': this.easingCurve?.index,
'trackMove': this.trackMove,
'isPointMove': this.isPointMove,
'isRotateWhenTrack': this.isRotateWhenTrack,
'icon': this.icon,
};
}