of static method

Implementation

static ResponsiveData of(BuildContext context) {
  final ResponsiveData? result = maybeOf(context);
  assert(result != null, 'No ResponsiveContainer found in context');
  return result!;
}