of static method

Implementation

static ArcaneFormContext? of(BuildContext context) {
  final scope =
      context.dependOnInheritedComponentOfExactType<ArcaneFormScope>();
  return scope?.formContext;
}