exportStackFit function

String exportStackFit(
  1. StackFit stackFit
)

Implementation

String exportStackFit(StackFit stackFit) {
  String rt = "loose";
  if (stackFit == StackFit.expand) {
    rt = "expand";
  } else if (stackFit == StackFit.passthrough) {
    rt = "passthrough";
  }
  return rt;
}