PrinterModel.fromJson constructor

PrinterModel.fromJson(
  1. Map json_
)

Implementation

PrinterModel.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        makeAndModel: json_.containsKey('makeAndModel')
            ? json_['makeAndModel'] as core.String
            : null,
        manufacturer: json_.containsKey('manufacturer')
            ? json_['manufacturer'] as core.String
            : null,
      );