Test class

A model class representing a test.

Constructors

Test()
Default constructor for the Test class.
Test.data(String? id, String? motherId, String? deviceId, String? doctorId, int? weight, int? gAge, int? age, int? fisherScore, int? fisherScore2, String? motherName, String? deviceName, String? doctorName, String? patientId, String? organizationId, String? organizationName, String? imageLocalPath, String? imageFirePath, String? audioLocalPath, String? audioFirePath, bool? isImgSynced, bool? isAudioSynced, List<int>? bpmEntries, List<int>? bpmEntries2, List<int>? mhrEntries, List<int>? spo2Entries, List<int>? baseLineEntries, List<int>? movementEntries, List<int>? autoFetalMovement, List<int>? tocoEntries, int? lengthOfTest, int? averageFHR, bool? live, bool? testByMother, String? testById, String? interpretationType, String? interpretationExtraComments, Map<String, dynamic>? associations, Map<String, dynamic>? autoInterpretations, bool? delete, DateTime? createdOn, String? createdBy)
Constructs a Test instance with the given data.
Test.fromMap(Map snapshot, String id)
Constructs a Test instance from a map.
Test.withData({String? id, String? documentId, String? motherId, String? deviceId, String? doctorId, int? weight, int? gAge, int? age, int? fisherScore, int? fisherScore2, String? motherName, String? deviceName, String? doctorName, String? patientId, String? organizationId, String? organizationName, String? imageLocalPath, String? imageFirePath, String? audioLocalPath, String? audioFirePath, bool? isImgSynced, bool? isAudioSynced, List<int>? bpmEntries, List<int>? bpmEntries2, List<int>? baseLineEntries, List<int>? movementEntries, List<int>? autoFetalMovement, List<int>? tocoEntries, int? lengthOfTest, int? averageFHR, bool? live, bool? testByMother, String? testById, String? interpretationType, String? interpretationExtraComments, Map<String, dynamic>? associations, Map<String, dynamic>? autoInterpretations, bool? delete = false, DateTime? createdOn, String? createdBy})
Constructs a Test instance with the given data.

Properties

age int?
getter/setter pair
associations Map<String, dynamic>?
getter/setter pair
audioFirePath String?
getter/setter pair
audioLocalPath String?
getter/setter pair
autoFetalMovement List<int>?
getter/setter pair
autoInterpretations Map<String, dynamic>?
getter/setter pair
averageFHR int?
getter/setter pair
baseLineEntries List<int>?
getter/setter pair
bpmEntries List<int>?
getter/setter pair
bpmEntries2 List<int>?
getter/setter pair
createdBy String?
getter/setter pair
createdOn DateTime?
getter/setter pair
delete bool?
getter/setter pair
deviceId String?
getter/setter pair
deviceName String?
getter/setter pair
doctorId String?
getter/setter pair
doctorName String?
getter/setter pair
documentId String?
getter/setter pair
fisherScore int?
getter/setter pair
fisherScore2 int?
getter/setter pair
gAge int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
imageFirePath String?
getter/setter pair
imageLocalPath String?
getter/setter pair
interpretationExtraComments String?
getter/setter pair
interpretationType String?
getter/setter pair
isAudioSynced bool?
getter/setter pair
isImgSynced bool?
getter/setter pair
lengthOfTest int?
getter/setter pair
live bool?
getter/setter pair
mhrEntries List<int>?
getter/setter pair
motherId String?
getter/setter pair
motherName String?
getter/setter pair
movementEntries List<int>?
getter/setter pair
organizationId String?
getter/setter pair
organizationName String?
getter/setter pair
patientId String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spo2Entries List<int>?
getter/setter pair
testById String?
getter/setter pair
testByMother bool?
getter/setter pair
tocoEntries List<int>?
getter/setter pair
weight int?
getter/setter pair

Methods

getAssociations() Map<String, String>?
Gets the associations.
getautoInterpretations() Map<String, String>?
Gets the automatic interpretations.
getCreatedBy() String?
Gets the creator.
getCreatedOn() DateTime?
Gets the creation date.
getDocumentId() String?
Gets the document ID.
getOrganizationId() String?
Gets the organization ID.
getOrganizationName() String?
Gets the organization name.
isDelete() bool?
Checks if the test is deleted.
isLive() bool?
Checks if the test is live.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printDetails() → void
setAssociations(Map<String, String> associations) → void
Sets the associations.
setautoInterpretations(Map<String, String> autoInterpretations) → void
Sets the automatic interpretations.
setCreatedBy(String createdBy) → void
Sets the creator.
setCreatedOn(DateTime createdOn) → void
Sets the creation date.
setDelete(bool delete) → void
Sets the delete status.
setDocumentId(String documentId) → void
Sets the document ID.
setLive(bool live) → void
Sets the live status.
setOrganizationId(String organizationId) → void
Sets the organization ID.
setOrganizationName(String organizationName) → void
Sets the organization name.
toJson() Map<String, Object?>
Converts the Test instance to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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