ExecuteSqlResponse.fromJson constructor

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

Implementation

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