toJson method
Implementation
Map<String, Object?> toJson() {
return {
"name": name,
"columns": columns,
"type": type,
"fields": fields,
"type_url": typeUrl,
"num_rows_indexed": numRowsIndexed,
"num_segments": numSegments,
"total_size_bytes": totalSizeBytes,
"details": details,
"statistics": statistics,
};
}