RevokeResp class
Constructors
-
RevokeResp({List<
LinkView> links = const [], int? revoked, int? sessionsStopped}) - Returns a new RevokeResp instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
links
↔ List<
LinkView> -
Links is each revoked row with its new status — retained, not deleted, so usage history and the audit trail survive the log-out.
getter/setter pair
- revoked ↔ int?
-
Revoked is how many links this call revoked.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionsStopped ↔ int?
-
SessionsStopped is how many of the caller's own agent sessions stopped. A stop that fails does not fail the revoke, so this may honestly report fewer.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → RevokeResp? -
Returns a new RevokeResp instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< RevokeResp> -
mapFromJson(
dynamic json) → Map< String, RevokeResp> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< RevokeResp> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.