PurgeProductsRequest.fromJson constructor

PurgeProductsRequest.fromJson(
  1. Map json_
)

Implementation

PurgeProductsRequest.fromJson(core.Map json_)
    : this(
        deleteOrphanProducts: json_.containsKey('deleteOrphanProducts')
            ? json_['deleteOrphanProducts'] as core.bool
            : null,
        force:
            json_.containsKey('force') ? json_['force'] as core.bool : null,
        productSetPurgeConfig: json_.containsKey('productSetPurgeConfig')
            ? ProductSetPurgeConfig.fromJson(json_['productSetPurgeConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
      );