RecordSchema class

Define the schema for Record.

Annotations

Constructors

RecordSchema(List<FieldSchema> fields)

Properties

fieldMap Map<String, FieldSchema>
Map of all FieldSchema.
no setter
fields List<FieldSchema>
List of all FieldSchema.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasPrimary bool
Flag as having a primary key.
no setter
length int
Number of fields.
no setter
names Iterable<String>
Iterable of field names;
no setter
primaryFieldMap Map<String, FieldSchema>
Map of FieldSchema to configure the primary key.
no setter
primaryFields List<FieldSchema>
List of FieldSchema to configure the primary key.
no setter
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
toMap() Map<String, Object>
Output the schema to Map
toString() String
A string representation of this object.
override

Operators

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