parse static method

String? parse(
  1. Object? enumItem
)

Implementation

static String? parse(Object? enumItem) {
  if (enumItem == null) return null;
  return enumItem.toString().split('.')[1];
}