fromId static method

StreamName fromId(
  1. Type type,
  2. AggregateId id
)

Get StreamName for given type and id

Implementation

static StreamName fromId(Type type, AggregateId id) => StreamName(
      '${type.toColonCase()}-$id',
    );