toJson method

String toJson()

Implementation

String toJson() {
  return const {
    Session.cont: 'continue',
    Session.start: 'start',
    Session.manual: 'manual',
    Session.none: 'none',
  }[this]!;
}