toMap method
Implementation
Map<String, dynamic> toMap() => {
'duration': duration,
'reverseDuration': reverseDuration,
'switchInCurve': switchInCurve,
'switchOutCurve': switchOutCurve,
'transitionBuilder': transitionBuilder,
'layoutBuilder': layoutBuilder,
'maintainKey': maintainKey,
};