ExpiresAfter class

Configuration for when a client secret expires.

Annotations
  • @immutable

Constructors

ExpiresAfter({String? anchor, required int seconds})
Creates an ExpiresAfter.
const
ExpiresAfter.fromJson(Map<String, dynamic> json)
Creates an ExpiresAfter from JSON.
factory

Properties

anchor String?
The anchor point for expiration (e.g., "created_at").
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seconds int
Seconds until expiration (10-7200).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
toString() String
A string representation of this object.
override

Operators

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