toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (inventoryFilters != null)
        'inventoryFilters':
            inventoryFilters!.map((value) => value.toJson()).toList(),
      if (osFilter != null) 'osFilter': osFilter!.toJson(),
      if (resources != null)
        'resources': resources!.map((value) => value.toJson()).toList(),
    };