isSnakeCase property

bool get isSnakeCase

returns true if this is of snake_case pattern

Implementation

bool get isSnakeCase {
  return contains('_');
}