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