of static method

SdkState of(
  1. BuildContext context
)

Implementation

static SdkState of(BuildContext context) {
  final _InheritedSdk? result =
      context.dependOnInheritedWidgetOfExactType<_InheritedSdk>();
  assert(result != null, 'No Sdk found in context');
  return result!.data;
}