addAppPolicy static method

void addAppPolicy(
  1. AppModel app,
  2. BuildContext context
)

Implementation

static void addAppPolicy(AppModel app, BuildContext context) {
  _openIt(
    app,
    context,
    true,
    AppPolicyModel(
      appId: app.documentID,
      documentID: newRandomKey(),
    ),
  );
}