showToastNumber static method

void showToastNumber(
  1. int val
)

Implementation

static void showToastNumber(int val) {
  assert(val > 0,
      "Show toast number can't be negative or zero. Default show toast number is 5.");
  if (val > 0) {
    _showToastNumber = val;
  }
}