EnterpriseCrmEventbusProtoNextTask.fromJson constructor

EnterpriseCrmEventbusProtoNextTask.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmEventbusProtoNextTask.fromJson(core.Map json_)
    : this(
        combinedConditions: json_.containsKey('combinedConditions')
            ? (json_['combinedConditions'] as core.List)
                .map((value) =>
                    EnterpriseCrmEventbusProtoCombinedCondition.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        condition: json_.containsKey('condition')
            ? json_['condition'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        label:
            json_.containsKey('label') ? json_['label'] as core.String : null,
        taskConfigId: json_.containsKey('taskConfigId')
            ? json_['taskConfigId'] as core.String
            : null,
        taskNumber: json_.containsKey('taskNumber')
            ? json_['taskNumber'] as core.String
            : null,
      );