[dart-gen] Fix lists containing atomic types (#3210)
This commit is contained in:
@@ -71,7 +71,11 @@ func isListType(s string) bool {
|
||||
}
|
||||
|
||||
func isClassListType(s string) bool {
|
||||
return strings.HasPrefix(s, "List<") && !isAtomicType(getCoreType(s))
|
||||
return isListType(s) && !isAtomicType(getCoreType(s))
|
||||
}
|
||||
|
||||
func isAtomicListType(s string) bool {
|
||||
return isListType(s) && isAtomicType(getCoreType(s))
|
||||
}
|
||||
|
||||
func isListItemsNullable(s string) bool {
|
||||
|
||||
Reference in New Issue
Block a user