SerializableCookie class Null safety

This class is a wrapper for Cookie class. Because the Cookie class doesn't support Json serialization, for the sake of persistence, we use this class instead of it.

Constructors

SerializableCookie(Cookie cookie)
SerializableCookie.fromJson(String value)
Create a instance form Json string.

Properties

read / write
createTimeStamp int
read / write
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

isExpired() bool
Test the whether this cookie is expired.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() String
Serialize the Json string.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited