identity function

String identity(
  1. String? str
)

Return str unchanged.

Implementation

String identity(String? str) => str ?? 'identity';