ListResourcesInProtectionGroupResponse.fromJson constructor

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

Implementation

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