GetClassifiersResponse.fromJson constructor

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

Implementation

factory GetClassifiersResponse.fromJson(Map<String, dynamic> json) {
  return GetClassifiersResponse(
    classifiers: (json['Classifiers'] as List?)
        ?.whereNotNull()
        .map((e) => Classifier.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}