CustomField class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

CustomField({int? id, DateTime? dbDateCreated, DateTime? dbDateUpdated, CustomFieldStatus? status, String? term, String? label, String? description, CustomFieldDataType? dataType, CustomFieldRegistration? registration, bool? requiredForImport, bool? requiredForCrewing, bool? internal, bool? allowEdit, bool? requireVerification, String? choices, String? widgetConfig, int? step, int? section, List<int>? positions})
CustomField.fromJson(Map<String, dynamic> json)
factory

Properties

allowEdit → bool?
final
choices → String?
final
dataType → CustomFieldDataType?
final
dbDateCreated → DateTime?
final
dbDateUpdated → DateTime?
final
description → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → int?
final
internal → bool?
final
label → String?
final
positions → List<int>?
final
registration → CustomFieldRegistration?
final
requiredForCrewing → bool?
final
requiredForImport → bool?
final
requireVerification → bool?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
section → int?
final
status → CustomFieldStatus?
final
step → int?
final
term → String?
final
widgetConfig → String?
final

Methods

copyWith({int? id, DateTime? dbDateCreated, DateTime? dbDateUpdated, CustomFieldStatus? status, String? term, String? label, String? description, CustomFieldDataType? dataType, CustomFieldRegistration? registration, bool? requiredForImport, bool? requiredForCrewing, bool? internal, bool? allowEdit, bool? requireVerification, String? choices, String? widgetConfig, int? step, int? section, List<int>? positions}) → CustomField

Available on CustomField, provided by the $CustomFieldExtension extension

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 ==(dynamic other) → bool
The equality operator.
override

Constants

fromJsonFactory → const CustomField Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(CustomField instance)