toJson method
toJson is the convention for a class to declare support for serialization
to JSON. The implementation simply calls the private, generated
helper method _$DigestToJson.
Implementation
String toJson() => toString();
toJson is the convention for a class to declare support for serialization
to JSON. The implementation simply calls the private, generated
helper method _$DigestToJson.
String toJson() => toString();