slotKey method

String slotKey([
  1. String? key
])

Returns the canonical slot key for key, falling back to 'struct' when key is null.

Implementation

String slotKey([String? key]) => key ?? 'default';