GridField class

Model representing a Field in a Grid

Implementers

Constructors

GridField({required String id, String? key, required String name, required DataType type, LinkMap links = const {}, dynamic schema})
Creates a GridField If type is DataType.currency use CurrencyGridField instead
const
GridField.fromJson(Map<String, dynamic> json)
Creates a GridField from json
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
id String
id of the field
final
key String?
A key associated with this field
final
Links that are associated with this GridField
final
name String
name of the field
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema → dynamic
json Schema of this GridField
final
type DataType
type of the field
final

Methods

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

Operators

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