ListPendingInvitationResourcesResponse.fromJson constructor

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

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(),
  );
}