Instance MethodMethodgenerate
generateBadgeDictionary(_:baseIndent:)
Generates Swift code for a badge dictionary.
func generateBadgeDictionary(
_ badge: [String : String],
baseIndent: Int
) -> StringParameters
badgeThe badge dictionary to convert.
baseIndentThe base indentation level.
Return Value
The Swift code for the badge dictionary.