toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
'applyHeightToFirstAscent': applyHeightToFirstAscent,
'applyHeightToLastDescent': applyHeightToLastDescent,
'leadingDistribution': leadingDistribution.toString(),
};
}