error method
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,
);
}