digest method

String digest()

A stable digest of this profile, for evidence and cache keys.

Implementation

String digest() =>
    sha256.convert(utf8.encode(jsonEncode(toJson()))).toString();