CloudExportAdditionalProperties.fromJson constructor

CloudExportAdditionalProperties.fromJson(
  1. Map json_
)

Implementation

CloudExportAdditionalProperties.fromJson(core.Map json_)
    : this(
        boolValue: json_.containsKey('boolValue')
            ? json_['boolValue'] as core.bool
            : null,
        floatValue: json_.containsKey('floatValue')
            ? (json_['floatValue'] as core.List)
                .map((value) => (value as core.num).toDouble())
                .toList()
            : null,
        intValue: json_.containsKey('intValue')
            ? (json_['intValue'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        maxValue: json_.containsKey('maxValue')
            ? (json_['maxValue'] as core.num).toDouble()
            : null,
        minValue: json_.containsKey('minValue')
            ? (json_['minValue'] as core.num).toDouble()
            : null,
        propertyName: json_.containsKey('propertyName')
            ? json_['propertyName'] as core.String
            : null,
        textValue: json_.containsKey('textValue')
            ? (json_['textValue'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        unitCode: json_.containsKey('unitCode')
            ? json_['unitCode'] as core.String
            : null,
      );