toString method

  1. @override
String toString()
override

A JSON representation of this account with all credentials redacted.

Use toJson to persist the account.

Implementation

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