frappeDocStatusToInt static method
Converts the docStatus of a document FrappeDocStatus to its representation in Frappé 0, 1 or 2
Implementation
static int? frappeDocStatusToInt(FrappeDocStatus? docStatus) {
if (docStatus == null) {
return null;
}
return docStatus.index;
}