toJson method

String toJson()

Implementation

String toJson() {
  return const {
    ShowSectionContents.always: 'always',
    ShowSectionContents.auto: 'auto',
    ShowSectionContents.onlyAfterZoom: 'onlyAfterZoom',
  }[this]!;
}