CancelFlowPauseConfig.fromMap constructor
Implementation
factory CancelFlowPauseConfig.fromMap(Map<String, dynamic> map) {
return CancelFlowPauseConfig(
enabled: map['enabled'] as bool,
title: map['title'] as String,
body: map['body'] as String,
ctaText: map['ctaText'] as String,
options: (map['options'] as List?)
?.map((e) => CancelFlowPauseOption.fromMap(Map<String, dynamic>.from(e as Map)))
.toList() ??
[],
);
}