BatchDeletePrintServersResponse.fromJson constructor

BatchDeletePrintServersResponse.fromJson(
  1. Map json_
)

Implementation

BatchDeletePrintServersResponse.fromJson(core.Map json_)
    : this(
        failedPrintServers: json_.containsKey('failedPrintServers')
            ? (json_['failedPrintServers'] as core.List)
                .map((value) => PrintServerFailureInfo.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        printServerIds: json_.containsKey('printServerIds')
            ? (json_['printServerIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );