name property
String
get
name
Returns the lowercase enum name.
Example:
print(QueueJobStatus.complete.name); // complete
Implementation
String get name => toString().split('.').last.toLowerCase();
Returns the lowercase enum name.
Example:
print(QueueJobStatus.complete.name); // complete
String get name => toString().split('.').last.toLowerCase();