DedicatedDatabaseExecution.fromMap constructor
DedicatedDatabaseExecution.fromMap(
- Map<String, dynamic> map
)
Implementation
factory DedicatedDatabaseExecution.fromMap(
Map<String, dynamic> map,
) {
map = {
'rows': [],
'rowCount': 0,
'columns': [],
'durationMs': 0,
'truncated': false,
'bytes': 0,
...map,
};
return DedicatedDatabaseExecution(
rows: List.from(map['rows'] ?? []),
rowCount: map['rowCount'],
columns: List<DedicatedDatabaseExecutionColumn>.from(
map['columns'].map((p) => DedicatedDatabaseExecutionColumn.fromMap(p)),
),
durationMs: map['durationMs'],
truncated: map['truncated'],
bytes: map['bytes'],
);
}