ListProtectionGroupsResponse.fromJson constructor
Implementation
factory ListProtectionGroupsResponse.fromJson(Map<String, dynamic> json) {
return ListProtectionGroupsResponse(
protectionGroups: (json['ProtectionGroups'] as List)
.whereNotNull()
.map((e) => ProtectionGroup.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}