SequenceVariant class

Annotations
  • @freezed

Constructors

SequenceVariant({FhirDecimal? start, @JsonKey(name: '_start') Element? startElement, FhirDecimal? end, @JsonKey(name: '_end') Element? endElement, String? observedAllele, @JsonKey(name: '_observedAllele') Element? observedAlleleElement, String? referenceAllele, @JsonKey(name: '_referenceAllele') Element? referenceAlleleElement, String? cigar, @JsonKey(name: '_cigar') Element? cigarElement, Reference? variantPointer})
const
factory
SequenceVariant.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
SequenceVariant.fromJsonString(String source)
Acts like a constructor, returns a SequenceVariant, accepts a String as an argument, mostly because I got tired of typing it out
factory
SequenceVariant.fromYaml(dynamic yaml)
Factory constructor, accepts a String in YAML format as an argument
factory

Properties

cigar String?
no setterinherited
cigarElement Element?
no setterinherited
copyWith → $SequenceVariantCopyWith<SequenceVariant>
no setterinherited
end FhirDecimal?
no setterinherited
endElement Element?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
observedAllele String?
no setterinherited
observedAlleleElement Element?
no setterinherited
referenceAllele String?
no setterinherited
referenceAlleleElement Element?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start FhirDecimal?
no setterinherited
startElement Element?
no setterinherited
variantPointer Reference?
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