BundleRequest class

Annotations
  • @freezed

Constructors

BundleRequest({BundleRequestMethod? method, @JsonKey(name: '_method') Element? methodElement, String? url, @JsonKey(name: '_url') Element? urlElement, String? ifNoneMatch, @JsonKey(name: '_ifNoneMatch') Element? ifNoneMatchElement, String? ifModifiedSince, @JsonKey(name: '_ifModifiedSince') Element? ifModifiedSinceElement, String? ifMatch, @JsonKey(name: '_ifMatch') Element? ifMatchElement, String? ifNoneExist, @JsonKey(name: '_ifNoneExist') Element? ifNoneExistElement})
const
factory
BundleRequest.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
BundleRequest.fromJsonString(String source)
Acts like a constructor, returns a BundleRequest, accepts a String as an argument, mostly because I got tired of typing it out
factory
BundleRequest.fromYaml(dynamic yaml)
Factory constructor, accepts a String in YAML format as an argument
factory

Properties

copyWith → $BundleRequestCopyWith<BundleRequest>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
ifMatch String?
no setterinherited
ifMatchElement Element?
no setterinherited
ifModifiedSince String?
no setterinherited
ifModifiedSinceElement Element?
no setterinherited
ifNoneExist String?
no setterinherited
ifNoneExistElement Element?
no setterinherited
ifNoneMatch String?
no setterinherited
ifNoneMatchElement Element?
no setterinherited
method BundleRequestMethod?
no setterinherited
methodElement Element?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
no setterinherited
urlElement 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