EnterpriseCrmFrontendsEventbusProtoTaskEntity.fromJson constructor

EnterpriseCrmFrontendsEventbusProtoTaskEntity.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmFrontendsEventbusProtoTaskEntity.fromJson(core.Map json_)
    : this(
        disabledForVpcSc: json_.containsKey('disabledForVpcSc')
            ? json_['disabledForVpcSc'] as core.bool
            : null,
        metadata: json_.containsKey('metadata')
            ? EnterpriseCrmEventbusProtoTaskMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        paramSpecs: json_.containsKey('paramSpecs')
            ? EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage.fromJson(
                json_['paramSpecs'] as core.Map<core.String, core.dynamic>)
            : null,
        stats: json_.containsKey('stats')
            ? EnterpriseCrmEventbusStats.fromJson(
                json_['stats'] as core.Map<core.String, core.dynamic>)
            : null,
        taskType: json_.containsKey('taskType')
            ? json_['taskType'] as core.String
            : null,
        uiConfig: json_.containsKey('uiConfig')
            ? EnterpriseCrmEventbusProtoTaskUiConfig.fromJson(
                json_['uiConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );