toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  "subtitle": subtitle,
  "link": link,
  "location": location,
  "type": type,
  "phoneNumber": phoneNumber,
  "address": address,
  "relatedProducts": relatedProducts == null ? null : List<dynamic>.from(relatedProducts!.map((String x) => x)),
  "detail1": detail1,
  "detail2": detail2,
};