toPixivStringParameter method
Implementation
String toPixivStringParameter() {
final typeString = this.name.toString();
final typeValueString = typeString.substring(typeString.indexOf('.') + 1);
return typeValueString.replaceAllMapped(
RegExp(r'[A-Z]'),
(match) {
return '_${match.input.substring(match.start, match.end)}';
},
).toLowerCase();
}