copyWith method

XSTSResponse copyWith({
  1. String? issueInstant,
  2. String? notAfter,
  3. String? token,
  4. XSTSDisplayClaims? displayClaims,
})

Implementation

XSTSResponse copyWith({
  String? issueInstant,
  String? notAfter,
  String? token,
  XSTSDisplayClaims? displayClaims,
}) {
  return XSTSResponse(
    issueInstant: issueInstant ?? this.issueInstant,
    notAfter: notAfter ?? this.notAfter,
    token: token ?? this.token,
    displayClaims: displayClaims ?? this.displayClaims,
  );
}