getId static method

String getId(
  1. ItemType type,
  2. String lang
)

Implementation

static String getId(ItemType type, String lang) {
  final typeId = type.id;
  return "$typeId-$lang";
}