AmpComponentDto class

Constructors

AmpComponentDto({int? from, int? to, List<IngredientDto> ingredients = const [], List<PharmaceuticalFormStubDto> pharmaceuticalForms = const [], List<RouteOfAdministrationDto> routeOfAdministrations = const [], String? dividable, String? scored, AmpComponentDtoCrushableEnum? crushable, AmpComponentDtoContainsAlcoholEnum? containsAlcohol, bool? sugarFree, int? modifiedReleaseType, int? specificDrugDevice, String? dimensions, SamTextDto? name, SamTextDto? note})
Returns a new AmpComponentDto instance.

Properties

containsAlcohol AmpComponentDtoContainsAlcoholEnum?
getter/setter pair
crushable AmpComponentDtoCrushableEnum?
getter/setter pair
dimensions String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
dividable String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
from int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
ingredients List<IngredientDto>
getter/setter pair
modifiedReleaseType int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
name SamTextDto?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
note SamTextDto?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
pharmaceuticalForms List<PharmaceuticalFormStubDto>
getter/setter pair
routeOfAdministrations List<RouteOfAdministrationDto>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scored String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
specificDrugDevice int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
sugarFree bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
to int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic value) AmpComponentDto?
Returns a new AmpComponentDto instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<AmpComponentDto>?
mapFromJson(dynamic json) Map<String, AmpComponentDto>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<AmpComponentDto>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.