successFor method

String? successFor(
  1. Object key
)

Returns the success message by key

Implementation

String? successFor(Object key) => resultFor(key)?.success;