of static method

Chart of(
  1. Context context
)

Implementation

static Chart of(Context context) => context.dependsOn<Chart>()!;