DropDownDataModel.fromJson constructor
Implementation
factory DropDownDataModel.fromJson(Map<String, dynamic> json) {
return DropDownDataModel(
id: json['id'] as String?,
title: json['title'] as String?,
value: json['value'], // Stays dynamic for flexibility
);
}