putLong abstract method
Stores a 64-bit integer value under the key, replacing any existing value.
key Key to set.
value Value to store.
Example:
// Store long values
_userStorage!.putLong("registration_timestamp", 1640995200000);
_userStorage!.putLong(
"last_login_timestamp",
DateTime.now().millisecondsSinceEpoch,
);
print("Stored long values");
Implementation
void putLong(String key, int value);