BatchExecuteStatementResponse.fromJson constructor

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

Implementation

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