EnterpriseCrmFrontendsEventbusProtoParameterValueType.fromJson constructor

EnterpriseCrmFrontendsEventbusProtoParameterValueType.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmFrontendsEventbusProtoParameterValueType.fromJson(core.Map json_)
    : this(
        booleanArray: json_.containsKey('booleanArray')
            ? EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray
                .fromJson(json_['booleanArray']
                    as core.Map<core.String, core.dynamic>)
            : null,
        booleanValue: json_.containsKey('booleanValue')
            ? json_['booleanValue'] as core.bool
            : null,
        doubleArray: json_.containsKey('doubleArray')
            ? EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray
                .fromJson(json_['doubleArray']
                    as core.Map<core.String, core.dynamic>)
            : null,
        doubleValue: json_.containsKey('doubleValue')
            ? (json_['doubleValue'] as core.num).toDouble()
            : null,
        intArray: json_.containsKey('intArray')
            ? EnterpriseCrmFrontendsEventbusProtoIntParameterArray.fromJson(
                json_['intArray'] as core.Map<core.String, core.dynamic>)
            : null,
        intValue: json_.containsKey('intValue')
            ? json_['intValue'] as core.String
            : null,
        jsonValue: json_.containsKey('jsonValue')
            ? json_['jsonValue'] as core.String
            : null,
        protoArray: json_.containsKey('protoArray')
            ? EnterpriseCrmFrontendsEventbusProtoProtoParameterArray.fromJson(
                json_['protoArray'] as core.Map<core.String, core.dynamic>)
            : null,
        protoValue: json_.containsKey('protoValue')
            ? json_['protoValue'] as core.Map<core.String, core.dynamic>
            : null,
        serializedObjectValue: json_.containsKey('serializedObjectValue')
            ? EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter
                .fromJson(json_['serializedObjectValue']
                    as core.Map<core.String, core.dynamic>)
            : null,
        stringArray: json_.containsKey('stringArray')
            ? EnterpriseCrmFrontendsEventbusProtoStringParameterArray
                .fromJson(json_['stringArray']
                    as core.Map<core.String, core.dynamic>)
            : null,
        stringValue: json_.containsKey('stringValue')
            ? json_['stringValue'] as core.String
            : null,
      );