fromValue static method

ThemesEnum fromValue(
  1. String value
)

Implementation

static ThemesEnum fromValue(String value) {
  switch (value) {
    case "directChat":
      return directChat;
    case "emptyChat":
      return emptyChat;
    default:
      return directChat;
  }
}