toMap method
API Documentation for toMap.
Implementation
Map<String, dynamic> toMap() => {
'title': title,
'subtitle': subtitle,
'description': description,
'negativeButtonText': negativeButtonText,
'confirmationRequired': confirmationRequired,
};