Questionnaire class

Model for Questionnaire.

Annotations
  • @JsonSerializable.new()

Constructors

Questionnaire({required String id, required String questionnaireName, required String questionnaireDescription, required String questionnaireCode, required String questionnaireCohort, required String questionnaireBody})
Constructor for Questionnaire.
Questionnaire.fromJson(Map<String, dynamic> json)
Create a Questionnaire from a JSON object.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique identifier for the questionnaire.
final
questionnaireBody → String
Body of the questionnaire.
final
questionnaireCode → String
Code of the questionnaire.
final
questionnaireCohort → String
Cohort of the questionnaire.
final
questionnaireDescription → String
Description of the questionnaire.
final
questionnaireName → String
Name of the questionnaire.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Create a JSON object from a Questionnaire.
toString() → String
A string representation of this object.
inherited

Operators

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