ListOutgoingTypedLinksResponse.fromJson constructor

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

Implementation

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