Printer.fromJson constructor

Printer.fromJson(
  1. Map json_
)

Implementation

Printer.fromJson(core.Map json_)
    : this(
        auxiliaryMessages: json_.containsKey('auxiliaryMessages')
            ? (json_['auxiliaryMessages'] as core.List)
                .map((value) => AuxiliaryMessage.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        makeAndModel: json_.containsKey('makeAndModel')
            ? json_['makeAndModel'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        orgUnitId: json_.containsKey('orgUnitId')
            ? json_['orgUnitId'] as core.String
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
        useDriverlessConfig: json_.containsKey('useDriverlessConfig')
            ? json_['useDriverlessConfig'] as core.bool
            : null,
      );