EnterpriseCrmFrontendsEventbusProtoParamSpecEntry.fromJson constructor

EnterpriseCrmFrontendsEventbusProtoParamSpecEntry.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmFrontendsEventbusProtoParamSpecEntry.fromJson(core.Map json_)
    : this(
        className: json_.containsKey('className')
            ? json_['className'] as core.String
            : null,
        collectionElementClassName:
            json_.containsKey('collectionElementClassName')
                ? json_['collectionElementClassName'] as core.String
                : null,
        config: json_.containsKey('config')
            ? EnterpriseCrmEventbusProtoParamSpecEntryConfig.fromJson(
                json_['config'] as core.Map<core.String, core.dynamic>)
            : 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,
        isDeprecated: json_.containsKey('isDeprecated')
            ? json_['isDeprecated'] as core.bool
            : null,
        isOutput: json_.containsKey('isOutput')
            ? json_['isOutput'] as core.bool
            : null,
        jsonSchema: json_.containsKey('jsonSchema')
            ? json_['jsonSchema'] as core.String
            : null,
        key: json_.containsKey('key') ? json_['key'] as core.String : null,
        protoDef: json_.containsKey('protoDef')
            ? EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition
                .fromJson(
                    json_['protoDef'] as core.Map<core.String, core.dynamic>)
            : null,
        required: json_.containsKey('required')
            ? json_['required'] as core.bool
            : null,
        validationRule: json_.containsKey('validationRule')
            ? EnterpriseCrmEventbusProtoParamSpecEntryValidationRule.fromJson(
                json_['validationRule']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );