of static method

Implementation

static InventoryLocalization of(BuildContext context) {
  return Localizations.of<InventoryLocalization>(
      context, InventoryLocalization)!;
}