AAAlertTemplate constructor

AAAlertTemplate({
  1. required String title,
  2. String? message,
  3. required List<AAAlertAction> actions,
  4. dynamic onPresent(
    1. bool completed
    )?,
  5. String? id,
})

Implementation

AAAlertTemplate({
  required this.title,
  this.message,
  required this.actions,
  this.onPresent,
  String? id,
}) : _elementId = id ?? const Uuid().v4();