fromStrings static method

LocalizedString fromStrings(
  1. Map<String?, String> strings
)

Implementation

static LocalizedString fromStrings(Map<String?, String> strings) =>
    LocalizedString._(
        strings.map((key, value) => MapEntry(key, Translation(value))));