toString method

  1. @override
String toString()
override

A JSON representation of this token with the secrets redacted.

Use toJson to persist the token.

Implementation

@override
String toString() => jsonEncode(MailAuthentication.redactSecrets(toJson()));