Slider.fromMap constructor

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

Implementation

factory Slider.fromMap(Map<String, dynamic> json) => Slider(
  id: json["id"],
  title: json["title"],
  subtitle: json["subtitle"],
  bgColor: json["bgColor"],
  showTitle: json["showTitle"],
  showSubtitle: json["showSubtitle"],
  imageOpacity: json["imageOpacity"]?.toDouble(),
  mediaKey: json["mediaKey"],
  baseUrl: json["baseUrl"],
  titleColor: json["titleColor"],
  subtitleColor: json["subtitleColor"],
);