CreateWarrantyDto class

Object to create a warranty for an item of a bill.

Inheritance

Constructors

CreateWarrantyDto({required DateTime warrantyDate, List<ReminderDto>? reminders, String? lineItemId, String? articleName})
CreateWarrantyDto.fromJson(Map<String, dynamic> json)
factory

Properties

articleName String?
Name of the article which has the warranty.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
lineItemId String?
Id of the line item which has the warranty.
read / write
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
read-onlyoverride
reminders List<ReminderDto>?
List of reminders.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
read-onlyinherited
warrantyDate DateTime
Date of end of warranty.
read / write

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.
inherited

Operators

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