getCaption method

String? getCaption(
  1. String key
)

Implementation

String? getCaption(String key) {
  return _captions.containsKey(key) ? _captions[key] : key;
}