BatchExecuteStatementOutput.fromJson constructor

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

Implementation

factory BatchExecuteStatementOutput.fromJson(Map<String, dynamic> json) {
  return BatchExecuteStatementOutput(
    responses: (json['Responses'] as List?)
        ?.whereNotNull()
        .map(
            (e) => BatchStatementResponse.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}