[dart-gen] Fix nullable list item issue (#3192)
This commit is contained in:
@@ -74,6 +74,10 @@ func isClassListType(s string) bool {
|
||||
return strings.HasPrefix(s, "List<") && !isAtomicType(getCoreType(s))
|
||||
}
|
||||
|
||||
func isListItemsNullable(s string) bool {
|
||||
return isListType(s) && isNullableType(getCoreType(s))
|
||||
}
|
||||
|
||||
func isMapType(s string) bool {
|
||||
return strings.HasPrefix(s, "Map<")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user