ListResolversByFunctionResponse.fromJson constructor

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

Implementation

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