setAction method

void setAction(
  1. SnackBarAction action
)

Implementation

void setAction(SnackBarAction action) {
  snackBar = _buildFrom(snackBar, action: action);
}