PrintServerFailureInfo.fromJson constructor

PrintServerFailureInfo.fromJson(
  1. Map json_
)

Implementation

PrintServerFailureInfo.fromJson(core.Map json_)
    : this(
        errorCode: json_.containsKey('errorCode')
            ? json_['errorCode'] as core.String
            : null,
        errorMessage: json_.containsKey('errorMessage')
            ? json_['errorMessage'] as core.String
            : null,
        printServer: json_.containsKey('printServer')
            ? PrintServer.fromJson(
                json_['printServer'] as core.Map<core.String, core.dynamic>)
            : null,
        printServerId: json_.containsKey('printServerId')
            ? json_['printServerId'] as core.String
            : null,
      );