VectorDataType class

VectorDataType

Inheritance

Constructors

VectorDataType.new({required int size, required DataType elementType})

Properties

elementType DataType
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert this data type instance to a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, dynamic> data) VectorDataType
Factory method: parse a JSON representation into a concrete DataType. Looks up the correct subclass in _dataTypes.
override