ListResolversResponse.fromJson constructor

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

Implementation

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