ListPendingInvitationResourcesResponse.fromJson constructor
Implementation
factory ListPendingInvitationResourcesResponse.fromJson(
Map<String, dynamic> json) {
return ListPendingInvitationResourcesResponse(
nextToken: json['nextToken'] as String?,
resources: (json['resources'] as List?)
?.whereNotNull()
.map((e) => Resource.fromJson(e as Map<String, dynamic>))
.toList(),
);
}