EnterpriseCrmEventbusProtoErrorDetail.fromJson constructor

EnterpriseCrmEventbusProtoErrorDetail.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmEventbusProtoErrorDetail.fromJson(core.Map json_)
    : this(
        errorCode: json_.containsKey('errorCode')
            ? CrmlogErrorCode.fromJson(
                json_['errorCode'] as core.Map<core.String, core.dynamic>)
            : null,
        errorMessage: json_.containsKey('errorMessage')
            ? json_['errorMessage'] as core.String
            : null,
        severity: json_.containsKey('severity')
            ? json_['severity'] as core.String
            : null,
        taskNumber: json_.containsKey('taskNumber')
            ? json_['taskNumber'] as core.int
            : null,
      );