BaseDTO.fromJson constructor
Creates a new instance of BaseDTO from a JSON object.
This method extracts the properties from the json
parameter and uses them to initialize a new instance of BaseDTO.
Implementation
BaseDTO.fromJson(Map<String, dynamic> json) {
id = json['id'];
isActive = json['isActive'];
isDeleted = json['isDeleted'];
createdAt = json['createdAt'];
updatedAt = json['updatedAt'];
}