ListType class

A list type. This type requires an elementType parameter, which is is a type of list elements.



ListType(DataType elementType)
ListType.fromJson(Map<String, dynamic> json)


elementType DataType
The list element type.
annotated ↔ bool
Tells if a value of this type is annotated, i.e. wrapped by an instance of AnnotatedValue. Defaults to false.
read / write, inherited
defaultValue ↔ List
The default value (optional).
read / write, inherited
description ↔ String
The data type location description.
read / write, inherited
features → Map<String, Object>
The data type features as a map of names to values.
final, inherited
format ↔ String
The format (optional).
read / write, inherited
hashCode → int
The hash code for this object.
read-only, inherited
kind DataTypeKind
The data type kind.
final, inherited
kindValue → String
The string value of the data type kind, e.g. 'LIST'.
read-only, inherited
label ↔ String
The data type location label.
read / write, inherited
name ↔ String
The data type location name.
read / write, inherited
nullable ↔ bool
Tells if a value of this type may be null. The default is that a value must not be null, i.e. it is not nullable.
read / write, inherited
optional ↔ bool
The flag specifying if this type is optional. Defaults to false.
read / write, inherited
provided ProvidedMeta
The provided value specification. Defaults to null.
read / write, inherited
registeredType ↔ String
The optional corresponding registered data type name.
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


toJson() → Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.