CreatePrinterRequest.fromJson constructor

CreatePrinterRequest.fromJson(
  1. Map json_
)

Implementation

CreatePrinterRequest.fromJson(core.Map json_)
    : this(
        parent: json_.containsKey('parent')
            ? json_['parent'] as core.String
            : null,
        printer: json_.containsKey('printer')
            ? Printer.fromJson(
                json_['printer'] as core.Map<core.String, core.dynamic>)
            : null,
      );