GetCSVHeaderResponse.fromJson constructor

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

Implementation

factory GetCSVHeaderResponse.fromJson(Map<String, dynamic> json) {
  return GetCSVHeaderResponse(
    cSVHeader: (json['CSVHeader'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    userPoolId: json['UserPoolId'] as String?,
  );
}