Field class

Metadata of an entity field.

Constructors

Field({Map<String, Object?>? additionalDetails, String? dataType, Object? defaultValue, String? description, String? field, JsonSchema? jsonSchema, bool? key, bool? nullable, bool? readonly})
Field.fromJson(Map json_)

Properties

additionalDetails Map<String, Object?>?
The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields.
getter/setter pair
dataType String?
The data type of the Field. Possible string values are:
getter/setter pair
defaultValue Object?
The following field specifies the default value of the Field provided by the external system if a value is not provided.
getter/setter pair
description String?
A brief description of the Field.
getter/setter pair
field String?
Name of the Field.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
jsonSchema JsonSchema?
JsonSchema representation of this entity's schema
getter/setter pair
key bool?
The following boolean field specifies if the current Field acts as a primary key or id if the parent is of type entity.
getter/setter pair
nullable bool?
Specifies whether a null value is allowed.
getter/setter pair
readonly bool?
Specifies if the Field is readonly.
getter/setter pair
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