create method

Future<AppPolicyModel> create()

Implementation

Future<AppPolicyModel> create() async {
  var policyModel = await _getAppPolicy();
  await appPolicyRepository(appId: appId)!.add(policyModel);
  return policyModel;
}