BatchCreatePrintServersResponse.fromJson constructor

BatchCreatePrintServersResponse.fromJson(
  1. Map json_
)

Implementation

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