toValue method

String toValue()

Converts the enum value to its string representation.

Implementation

String toValue() {
  switch (this) {
    case FCMProcessingMode.foreground:
      return 'foreground';
    case FCMProcessingMode.background:
      return 'background';
  }
}