BatchCreatePrintersRequest.fromJson constructor

BatchCreatePrintersRequest.fromJson(
  1. Map json_
)

Implementation

BatchCreatePrintersRequest.fromJson(core.Map json_)
    : this(
        requests: json_.containsKey('requests')
            ? (json_['requests'] as core.List)
                .map((value) => CreatePrinterRequest.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );