encode static method
Encodes a profile into the JSON text of a declaration.
The text is the evidence shape of the profile, indented for a file a
person reads. decode(encode(profile)) carries the same shape back.
Implementation
static String encode(ProjectOperationProfile profile) =>
const JsonEncoder.withIndent(' ').convert(profile.toJson());