FhirHttpRequest class
- Annotations
-
- @freezed
Constructors
-
FhirHttpRequest({required RestfulRequest type, required String url, required Map<
String, String> headers, Map<String, dynamic> ? body}) -
constfactory
-
FhirHttpRequest.fromFhirRequest({required RestfulRequest type, required String url, Map<
String, String> ? headers, Map<String, dynamic> ? resource, String? formData, required String accept, MimeType? mimeType, Client? client}) -
factory
-
FhirHttpRequest.fromJson(Map<
String, dynamic> json) -
Factory constructor, accepts Map<String, dynamic> as an argument
factory
- FhirHttpRequest.fromJsonString(String source)
-
Acts like a constructor, returns a
CarePlan
, accepts a String as an argument, mostly because I got tired of typing it outfactory
Properties
-
body
→ Map<
String, dynamic> ? -
no setterinherited
-
copyWith
→ $FhirHttpRequestCopyWith<
FhirHttpRequest> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → RestfulRequest
-
no setterinherited
- url → String
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request(
) → Future< Response> - Make the request
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited