TriggerDefinition class

Annotations
  • @freezed

Constructors

TriggerDefinition({TriggerDefinitionType? type, @JsonKey(name: '_type') Element? typeElement, String? eventName, @JsonKey(name: '_eventName') Element? eventNameElement, Timing? eventTimingTiming, Reference? eventTimingReference, FhirDate? eventTimingDate, @JsonKey(name: '_eventTimingDate') Element? eventTimingDateElement, FhirDateTime? eventTimingDateTime, @JsonKey(name: '_eventTimingDateTime') Element? eventTimingDateTimeElement, DataRequirement? eventData})
const
factory
TriggerDefinition.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
TriggerDefinition.fromJsonString(String source)
Acts like a constructor, returns a TriggerDefinition, accepts a String as an argument, mostly because I got tired of typing it out
factory
TriggerDefinition.fromYaml(dynamic yaml)
Factory constructor, accepts a String in YAML format as an argument
factory

Properties

copyWith → $TriggerDefinitionCopyWith<TriggerDefinition>
no setterinherited
eventData DataRequirement?
no setterinherited
eventName String?
no setterinherited
eventNameElement Element?
no setterinherited
eventTimingDate FhirDate?
no setterinherited
eventTimingDateElement Element?
no setterinherited
eventTimingDateTime FhirDateTime?
no setterinherited
eventTimingDateTimeElement Element?
no setterinherited
eventTimingReference Reference?
no setterinherited
eventTimingTiming Timing?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type TriggerDefinitionType?
no setterinherited
typeElement Element?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toJsonString() String
Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
toString() String
A string representation of this object.
inherited
toYaml() String
Produces a Yaml formatted String version of the object

Operators

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