EnterpriseCrmEventbusProtoParameterValueType.fromJson constructor

EnterpriseCrmEventbusProtoParameterValueType.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmEventbusProtoParameterValueType.fromJson(core.Map json_)
    : this(
        booleanArray: json_.containsKey('booleanArray')
            ? EnterpriseCrmEventbusProtoBooleanParameterArray.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')
            ? EnterpriseCrmEventbusProtoDoubleParameterArray.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')
            ? EnterpriseCrmEventbusProtoIntParameterArray.fromJson(
                json_['intArray'] as core.Map<core.String, core.dynamic>)
            : null,
        intValue: json_.containsKey('intValue')
            ? json_['intValue'] as core.String
            : null,
        protoArray: json_.containsKey('protoArray')
            ? EnterpriseCrmEventbusProtoProtoParameterArray.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')
            ? EnterpriseCrmEventbusProtoSerializedObjectParameter.fromJson(
                json_['serializedObjectValue']
                    as core.Map<core.String, core.dynamic>)
            : null,
        stringArray: json_.containsKey('stringArray')
            ? EnterpriseCrmEventbusProtoStringParameterArray.fromJson(
                json_['stringArray'] as core.Map<core.String, core.dynamic>)
            : null,
        stringValue: json_.containsKey('stringValue')
            ? json_['stringValue'] as core.String
            : null,
      );