FormTemplate class abstract
- Implemented types
- Annotations
-
- @freezed
Constructors
-
FormTemplate.new({required String id, @Default(null) String? rev, @Default(null) int? deletionDate, @Default(null) FormTemplateLayout? templateLayout, @Default(null) Uint8List? rawTemplateLayout, @Default(null) String? name, @Default(null) String? guid, @Default(null) DocumentGroup? group, @Default(null) String? descr, @Default(null) String? disabled, @Default(null) CodeStub? specialty, @Default(null) String? author, @Default(null) String? formInstancePreferredLocation, @Default(null) String? keyboardShortcut, @Default(null) String? shortReport, @Default(null) String? mediumReport, @Default(null) String? longReport, @Default({}) Set<
String> reports, @Default({}) Set<CodeStub> tags, @Default(null) String? layoutAttachmentId, @Default(null) String? templateLayoutAttachmentId}) -
constfactory
Properties
-
no setterinherited
-
copyWith
→ $FormTemplateCopyWith<
FormTemplate> -
Create a copy of FormTemplate
with the given fields replaced by the non-null parameter values.
no setterinherited
- deletionDate → int?
-
no setterinherited
- descr → String?
-
no setterinherited
- disabled → String?
-
no setterinherited
- formInstancePreferredLocation → String?
-
no setterinherited
- group → DocumentGroup?
-
no setterinherited
- guid → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setterinherited
- keyboardShortcut → String?
-
no setterinherited
- layoutAttachmentId → String?
-
no setterinherited
- longReport → String?
-
no setterinherited
- mediumReport → String?
-
no setterinherited
- name → String?
-
no setterinherited
- rawTemplateLayout → Uint8List?
-
no setterinherited
-
reports
→ Set<
String> -
no setterinherited
- rev → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortReport → String?
-
no setterinherited
- specialty → CodeStub?
-
no setterinherited
-
no setterinherited
- templateLayout → FormTemplateLayout?
-
no setterinherited
- templateLayoutAttachmentId → String?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encode(
FormTemplate value) → Map< String, dynamic> -
fromJSON(
Map< String, dynamic> data) → FormTemplate