VaccineModel class
Constructors
- VaccineModel.new({required String id, required String vaccineName, required String vaccineType, required int cost, String? vaccineManufacturer, required String expirationDate, String? sideEffects, String? contraindications, String? vaccineSeries, String? vaccineNotes})
-
VaccineModel.getData(Map<
String, dynamic> jsonResponse) -
factory
Properties
- contraindications ↔ String?
-
getter/setter pair
- cost ↔ int
-
getter/setter pair
- expirationDate ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sideEffects ↔ String?
-
getter/setter pair
- vaccineManufacturer ↔ String?
-
getter/setter pair
- vaccineName ↔ String
-
getter/setter pair
- vaccineNotes ↔ String?
-
getter/setter pair
- vaccineSeries ↔ String?
-
getter/setter pair
- vaccineType ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited