toId method

AppLocaleId toId(
  1. E e
)

Returns the corresponding locale id of given enum

Implementation

AppLocaleId toId(E e) => _enumToIdMap[e]!;