of method Null safety
- BuildContext context
Implementation
static Strings of(BuildContext context) {
final instance = Strings.maybeOf(context);
assert(instance != null,
'No instance of Strings present in the widget tree. Did you add Strings.delegate in localizationsDelegates?');
return instance!;
}