BatchDeletePrintersResponse.fromJson constructor

BatchDeletePrintersResponse.fromJson(
  1. Map json_
)

Implementation

BatchDeletePrintersResponse.fromJson(core.Map json_)
    : this(
        failedPrinters: json_.containsKey('failedPrinters')
            ? (json_['failedPrinters'] as core.List)
                .map((value) => FailureInfo.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        printerIds: json_.containsKey('printerIds')
            ? (json_['printerIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );