Type.ofList constructor

Type.ofList({
  1. Type? genericType,
  2. bool nullable = false,
})

Implementation

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