GoogleChromeManagementV1PrintJob.fromJson constructor

GoogleChromeManagementV1PrintJob.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1PrintJob.fromJson(core.Map json_)
    : this(
        colorMode: json_.containsKey('colorMode')
            ? json_['colorMode'] as core.String
            : null,
        completeTime: json_.containsKey('completeTime')
            ? json_['completeTime'] as core.String
            : null,
        copyCount: json_.containsKey('copyCount')
            ? json_['copyCount'] as core.int
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        documentPageCount: json_.containsKey('documentPageCount')
            ? json_['documentPageCount'] as core.int
            : null,
        duplexMode: json_.containsKey('duplexMode')
            ? json_['duplexMode'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        printer: json_.containsKey('printer')
            ? json_['printer'] as core.String
            : null,
        printerId: json_.containsKey('printerId')
            ? json_['printerId'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
        userEmail: json_.containsKey('userEmail')
            ? json_['userEmail'] as core.String
            : null,
        userId: json_.containsKey('userId')
            ? json_['userId'] as core.String
            : null,
      );