of static method

Multer of(
  1. Context context
)

Find or create a Multer instance on the Context.

Implementation

static Multer of(Context context) {
  if (!context.contains(Multer)) {
    context[Multer] = const Multer();
  }

  return context[Multer];
}