[dart-gen] Support Null-safe and omitempty json tag (#3134)

This commit is contained in:
fondoger
2023-04-17 13:06:52 +08:00
committed by GitHub
parent bbfce6abe9
commit 078825b4eb
3 changed files with 74 additions and 7 deletions

View File

@@ -8,6 +8,9 @@ var funcMap = template.FuncMap{
"isDirectType": isDirectType,
"isNumberType": isNumberType,
"isClassListType": isClassListType,
"isNullableType": isNullableType,
"appendNullCoalescing": appendNullCoalescing,
"appendDefaultEmptyValue": appendDefaultEmptyValue,
"getCoreType": getCoreType,
"lowCamelCase": lowCamelCase,
"normalizeHandlerName": normalizeHandlerName,