Type.ofList({Type? genericType, this.nullable = false}) : name = 'List', generics = genericType == null ? const [] : [genericType], super();