toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accessibleTrackIds != null)
        'accessibleTrackIds': accessibleTrackIds!,
      if (alwaysOnVpnLockdownExemption != null)
        'alwaysOnVpnLockdownExemption': alwaysOnVpnLockdownExemption!,
      if (autoUpdateMode != null) 'autoUpdateMode': autoUpdateMode!,
      if (connectedWorkAndPersonalApp != null)
        'connectedWorkAndPersonalApp': connectedWorkAndPersonalApp!,
      if (credentialProviderPolicy != null)
        'credentialProviderPolicy': credentialProviderPolicy!,
      if (defaultPermissionPolicy != null)
        'defaultPermissionPolicy': defaultPermissionPolicy!,
      if (delegatedScopes != null) 'delegatedScopes': delegatedScopes!,
      if (disabled != null) 'disabled': disabled!,
      if (extensionConfig != null) 'extensionConfig': extensionConfig!,
      if (installConstraint != null) 'installConstraint': installConstraint!,
      if (installPriority != null) 'installPriority': installPriority!,
      if (installType != null) 'installType': installType!,
      if (lockTaskAllowed != null) 'lockTaskAllowed': lockTaskAllowed!,
      if (managedConfiguration != null)
        'managedConfiguration': managedConfiguration!,
      if (managedConfigurationTemplate != null)
        'managedConfigurationTemplate': managedConfigurationTemplate!,
      if (minimumVersionCode != null)
        'minimumVersionCode': minimumVersionCode!,
      if (packageName != null) 'packageName': packageName!,
      if (permissionGrants != null) 'permissionGrants': permissionGrants!,
      if (userControlSettings != null)
        'userControlSettings': userControlSettings!,
      if (workProfileWidgets != null)
        'workProfileWidgets': workProfileWidgets!,
    };