toValue method
Implementation
String toValue() {
switch (this) {
case Mode.off:
return 'OFF';
case Mode.behindLiveEdge:
return 'BEHIND_LIVE_EDGE';
}
}
String toValue() {
switch (this) {
case Mode.off:
return 'OFF';
case Mode.behindLiveEdge:
return 'BEHIND_LIVE_EDGE';
}
}