SecurityPosture.fromJson constructor

SecurityPosture.fromJson(
  1. Map json_
)

Implementation

SecurityPosture.fromJson(core.Map json_)
    : this(
        devicePosture: json_.containsKey('devicePosture')
            ? json_['devicePosture'] as core.String
            : null,
        postureDetails: json_.containsKey('postureDetails')
            ? (json_['postureDetails'] as core.List)
                .map((value) => PostureDetail.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );