toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'thumbBorderColor': colorToHex(thumbBorderColor),
    'selectedTrackColor': colorToHex(selectedTrackColor),
    'selectedValueTextColor': colorToHex(selectedValueTextColor),
    'unSelectedTrackColor': colorToHex(unSelectedTrackColor),
    'thumbBackgroundColor': colorToHex(thumbBackgroundColor),
    'minRangeTextColor': colorToHex(minRangeTextColor),
    'maxRangeTextColor': colorToHex(maxRangeTextColor),
  };
}