toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  "actionType": actionType,
  "actionTitle": actionTitle,
  "actionUri": actionUri,
  "details": details,
  "relatedProducts": relatedProducts == null ? null : List<dynamic>.from(relatedProducts!.map((String x) => x)),
  "phoneNumber": phoneNumber,
  "address": address,
  "detail1": detail1,
  "detail2": detail2,
};