getExpiration method Null safety

int getExpiration()

Gets the expiration timeout.

Return the expiration timeout in milliseconds.