error method

Future error({
  1. required BuildContext context,
  2. required String title,
  3. required String message,
})

Implementation

Future<dynamic> error({
  required BuildContext context,
  required String title,
  required String message,
}) {
  return this.message(
    context: context,
    type: PopupType.error,
    title: title,
    message: message,
  );
}