PrintServerFailureInfo.fromJson constructor

PrintServerFailureInfo.fromJson(
  1. Map json_
)

Implementation

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