ExecuteStatementResult.fromJson constructor

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

Implementation

factory ExecuteStatementResult.fromJson(Map<String, dynamic> json) {
  return ExecuteStatementResult(
    consumedIOs: json['ConsumedIOs'] != null
        ? IOUsage.fromJson(json['ConsumedIOs'] as Map<String, dynamic>)
        : null,
    firstPage: json['FirstPage'] != null
        ? Page.fromJson(json['FirstPage'] as Map<String, dynamic>)
        : null,
    timingInformation: json['TimingInformation'] != null
        ? TimingInformation.fromJson(
            json['TimingInformation'] as Map<String, dynamic>)
        : null,
  );
}