encode static method
Implementation
static String encode(DocumentLocation value) {
switch (value) {
case DocumentLocation.annex:
return 'annex';
case DocumentLocation.body:
return 'body';
}
}
static String encode(DocumentLocation value) {
switch (value) {
case DocumentLocation.annex:
return 'annex';
case DocumentLocation.body:
return 'body';
}
}