getUiType static method

UiType? getUiType(
  1. int? uiValue
)

Implementation

static UiType? getUiType(int? uiValue) {
  switch (uiValue) {
    case 0:
      return UiType.VIEWED;
    case 1:
      return UiType.IN_LIST;
  }
  return null;
}