systemAppState static method

String systemAppState({
  1. required String package,
  2. required bool enabled,
})

Implementation

static String systemAppState({required String package, required bool enabled}) => '<characteristic type="AppMgr">'
    '<parm name="Action" value="${enabled ? 'EnableApplication' : 'DisableApplication'}"/>'
    '<parm name="Package" value="$package"/>'
    '</characteristic>';