PortableSession class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true, checked: true)

Constructors

PortableSession({required String id, required String name, required String origin, required int createdAt, required int updatedAt, required List<CookieEntry> cookies, required List<StorageEntry> storage})
PortableSession.fromJson(Map<String, dynamic> json)
factory

Properties

cookies → List<CookieEntry>
final
createdAt → int
final
hasCookies → bool

Available on PortableSession, provided by the PortableSessionPropertyHelpers extension

no setter
hashCode → int
The hash code for this object.
no setteroverride
hasId → bool

Available on PortableSession, provided by the PortableSessionPropertyHelpers extension

no setter
hasName → bool

Available on PortableSession, provided by the PortableSessionPropertyHelpers extension

no setter
hasOrigin → bool

Available on PortableSession, provided by the PortableSessionPropertyHelpers extension

no setter
hasStorage → bool

Available on PortableSession, provided by the PortableSessionPropertyHelpers extension

no setter
id → String
final
name → String
final
noCookies → bool

Available on PortableSession, provided by the PortableSessionPropertyHelpers extension

no setter
noId → bool

Available on PortableSession, provided by the PortableSessionPropertyHelpers extension

no setter
noName → bool

Available on PortableSession, provided by the PortableSessionPropertyHelpers extension

no setter
noOrigin → bool

Available on PortableSession, provided by the PortableSessionPropertyHelpers extension

no setter
noStorage → bool

Available on PortableSession, provided by the PortableSessionPropertyHelpers extension

no setter
origin → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storage → List<StorageEntry>
final
updatedAt → int
final

Methods

compareToPortableSession(PortableSession other) → Map<String, dynamic>

Available on PortableSession, provided by the PortableSessionCompareE extension

copyWith({String? id, String? name, String? origin, int? createdAt, int? updatedAt, List<CookieEntry>? cookies, List<StorageEntry>? storage}) → PortableSession
copyWithPortableSession({String? id, String? name, String? origin, int? createdAt, int? updatedAt, List<CookieEntry>? cookies, List<StorageEntry>? storage}) → PortableSession
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchWithPortableSession([PortableSessionPatch? patchInput]) → PortableSession
toJson() → Map<String, dynamic>

Available on PortableSession, provided by the PortableSessionSerialization extension

toJsonLean() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override