ListInputsResponse.fromJson constructor

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

Implementation

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