documentSideString property

String documentSideString

Returns a string representation of the document side.

The returned string will be one of the following values: 'FRONT' for the front side, 'BACK' for the back side.

Implementation

String get documentSideString {
  switch (this) {
    case DocumentSide.front:
      return 'FRONT';
    case DocumentSide.back:
      return 'BACK';
    default:
      return 'FRONT';
  }
}