EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry.fromJson constructor

EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry.fromJson(
    core.Map json_)
    : this(
        attributes: json_.containsKey('attributes')
            ? EnterpriseCrmEventbusProtoAttributes.fromJson(
                json_['attributes'] as core.Map<core.String, core.dynamic>)
            : null,
        children: json_.containsKey('children')
            ? (json_['children'] as core.List)
                .map((value) =>
                    EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        containsLargeData: json_.containsKey('containsLargeData')
            ? json_['containsLargeData'] as core.bool
            : null,
        dataType: json_.containsKey('dataType')
            ? json_['dataType'] as core.String
            : null,
        defaultValue: json_.containsKey('defaultValue')
            ? EnterpriseCrmFrontendsEventbusProtoParameterValueType.fromJson(
                json_['defaultValue'] as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        inOutType: json_.containsKey('inOutType')
            ? json_['inOutType'] as core.String
            : null,
        isTransient: json_.containsKey('isTransient')
            ? json_['isTransient'] as core.bool
            : null,
        jsonSchema: json_.containsKey('jsonSchema')
            ? json_['jsonSchema'] as core.String
            : null,
        key: json_.containsKey('key') ? json_['key'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        producedBy: json_.containsKey('producedBy')
            ? EnterpriseCrmEventbusProtoNodeIdentifier.fromJson(
                json_['producedBy'] as core.Map<core.String, core.dynamic>)
            : null,
        producer: json_.containsKey('producer')
            ? json_['producer'] as core.String
            : null,
        protoDefName: json_.containsKey('protoDefName')
            ? json_['protoDefName'] as core.String
            : null,
        protoDefPath: json_.containsKey('protoDefPath')
            ? json_['protoDefPath'] as core.String
            : null,
        required: json_.containsKey('required')
            ? json_['required'] as core.bool
            : null,
      );