getTranslationOrDefault method

PackTranslation getTranslationOrDefault([
  1. String id = kFallbackLocale
])

Implementation

PackTranslation getTranslationOrDefault([String id = kFallbackLocale]) =>
    getTranslation(id) ?? PackTranslation();