Field class

Details of a field.

Constructors

Field({int? contextsCount, String? description, required String id, bool? isLocked, bool? isUnscreenable, String? key, FieldLastUsed? lastUsed, required String name, int? projectsCount, required JsonTypeBean schema, int? screensCount, String? searcherKey})
Field.fromJson(Map<String, Object?> json)
factory

Properties

contextsCount → int?
Number of contexts where the field is used.
final
description → String?
The description of the field.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The ID of the field.
final
isLocked → bool
Whether the field is locked.
final
isUnscreenable → bool
Whether the field is shown on screen or not.
final
key → String?
The key of the field.
final
lastUsed → FieldLastUsed?
final
name → String
The name of the field.
final
projectsCount → int?
Number of projects where the field is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schema → JsonTypeBean
final
screensCount → int?
Number of screens where the field is used.
final
searcherKey → String?
The searcher key of the field. Returned for custom fields.
final

Methods

copyWith({int? contextsCount, String? description, String? id, bool? isLocked, bool? isUnscreenable, String? key, FieldLastUsed? lastUsed, String? name, int? projectsCount, JsonTypeBean? schema, int? screensCount, String? searcherKey}) → Field
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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