error method

void error(
  1. String message
)

Shows an error toast.

Implementation

void error(String message) => show(message, kind: 'error');