SliderList.fromMap constructor

SliderList.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory SliderList.fromMap(Map<String, dynamic> json) => SliderList(
      id: json["id"],
      title: json["title"],
      type: json["type"],
      typeId: json["type_id"],
      status: json["status"],
      description: json["description"],
      eventName: json["event_name"],
      sliderImage: json["slider_image"],
    );