asMap method
Implementation
Map asMap() {
Map<String, dynamic> map = {};
map["show"] = show;
map["title"] = title;
map["subtitle"] = subtitle;
map["confirmLabel"] = confirmButtonLabel;
map["retryLabel"] = retryButtonLabel;
return map;
}