toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'thumbColor': colorToHex(thumbColor),
    'playButtonBackgroundColor': colorToHex(playButtonBackgroundColor),
    'incomingTrackColor': colorToHex(incomingTrackColor),
    'outgoingTrackColor': colorToHex(outgoingTrackColor),
    'incomingButtonIconColor': colorToHex(incomingButtonIconColor),
    'outgoingButtonIconColor': colorToHex(outgoingButtonIconColor),
    'outgoingDurationTextColor': colorToHex(outgoingDurationTextColor),
    'incomingDurationTextColor': colorToHex(incomingDurationTextColor),
  };
}