ShowAlertOptions.fromMap constructor
Implementation
factory ShowAlertOptions.fromMap(Map<String, dynamic> map) {
  return ShowAlertOptions(
    message: map['message'] as String,
    type: map['type'] as String,
    duration: map['duration'] as int?,
  );
}