GetMLTransformsResponse.fromJson constructor

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

Implementation

factory GetMLTransformsResponse.fromJson(Map<String, dynamic> json) {
  return GetMLTransformsResponse(
    transforms: (json['Transforms'] as List)
        .whereNotNull()
        .map((e) => MLTransform.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}