newPushToken method

bool newPushToken(
  1. String? token
)

Implementation

bool newPushToken(String? token) {
  if (token != currToken) {
    currToken = token;
    _pushTokens.add(token);
    return true;
  } else {
    return false;
  }
}