BulkQueryResult.fromJson constructor

BulkQueryResult.fromJson(
  1. Map<String, dynamic> jsonSerialization
)

Implementation

factory BulkQueryResult.fromJson(Map<String, dynamic> jsonSerialization) {
  return BulkQueryResult(
    headers: (jsonSerialization['headers'] as List)
        .map((e) => _i2.BulkQueryColumnDescription.fromJson(
            (e as Map<String, dynamic>)))
        .toList(),
    data: jsonSerialization['data'] as String,
    numAffectedRows: jsonSerialization['numAffectedRows'] as int,
    duration:
        _i1.DurationJsonExtension.fromJson(jsonSerialization['duration']),
  );
}