of static method

JsonIntl of(
  1. BuildContext context
)

Get the nearest JsonIntl instance available within the context

Implementation

static JsonIntl of(BuildContext context) {
  return Localizations.of<JsonIntl>(context, JsonIntl) ?? mock;
}