ListSkillsResponse.fromJson constructor

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

Implementation

factory ListSkillsResponse.fromJson(Map<String, dynamic> json) {
  return ListSkillsResponse(
    nextToken: json['NextToken'] as String?,
    skillSummaries: (json['SkillSummaries'] as List?)
        ?.whereNotNull()
        .map((e) => SkillSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}