idiomaticName property

  1. @internal
String get idiomaticName

Gets the idiomatic name of a prelude trait by stripping off the smithy.api# prefix. This is used in various error messages.

Implementation

@internal
String get idiomaticName => name.replaceFirst('smithy.api#', '');