DedicatedDatabaseExecution.fromMap constructor

DedicatedDatabaseExecution.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory DedicatedDatabaseExecution.fromMap(
  Map<String, dynamic> 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'],
  );
}