CancelFlowOffer.fromMap constructor

CancelFlowOffer.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory CancelFlowOffer.fromMap(Map<String, dynamic> map) {
  return CancelFlowOffer(
    enabled: map['enabled'] as bool,
    title: map['title'] as String,
    body: map['body'] as String,
    ctaText: map['ctaText'] as String,
    type: map['type'] as String,
    value: map['value'] as String,
  );
}