DescribePatchGroupsResult.fromJson constructor

DescribePatchGroupsResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DescribePatchGroupsResult.fromJson(Map<String, dynamic> json) {
  return DescribePatchGroupsResult(
    mappings: (json['Mappings'] as List?)
        ?.whereNotNull()
        .map((e) => PatchGroupPatchBaselineMapping.fromJson(
            e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}