PrintServer.fromJson constructor

PrintServer.fromJson(
  1. Map json_
)

Implementation

PrintServer.fromJson(core.Map json_)
    : this(
        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,
        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,
      );