SchemaAttribute class

An attribute of a schema, which defines a dataset field. A schema attribute is required for every field in a dataset. The Schema object contains an array of SchemaAttribute objects.

Constructors

SchemaAttribute({String? attributeName, AttributeType? attributeType})
SchemaAttribute.fromJson(Map<String, dynamic> json)
factory

Properties

attributeName String?
The name of the dataset field.
final
attributeType AttributeType?
The data type of the field.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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