isCurrent static method

Future<bool> isCurrent(
  1. ParseInstallation installation
)

Implementation

static Future<bool> isCurrent(ParseInstallation installation) async {
  _currentInstallationId ??= (await _getFromLocalStore())?.installationId;
  return _currentInstallationId != null &&
      installation.installationId == _currentInstallationId;
}