stringFromEnum static method

String stringFromEnum(
  1. dynamic value
)

Implementation

static String stringFromEnum(dynamic value) {
  return value.toString().split('.').last;
}