ListHandshakesForOrganizationResponse.fromJson constructor

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

Implementation

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