of static method
Returns the FOtpItemScope from the enclosing FOtpField.
Implementation
static FOtpItemScope of(BuildContext context) {
assert(debugCheckHasAncestor<FOtpItemScope>('$FOtpField', context));
return context.dependOnInheritedWidgetOfExactType<FOtpItemScope>()!;
}