prefixed method

String prefixed(
  1. String prefix
)

Returns <prefix>_<id>.

ids.prefixed('run'); // run_01JQ8XKF2M7YB4C3D5E6F7G8H9

Implementation

String prefixed(String prefix) => '${prefix}_${generate()}';