error static method
Implementation
static Future<bool?> error({
required String msg,
Color textColor = Colors.white,
ToastGravity? gravity,
Toast? toastLength,
}) =>
toast(
msg: msg,
backgroundColor: BasicAppColors.red,
textColor: textColor,
gravity: gravity,
toastLength: toastLength,
);