readTableOrNull<T extends Table, D> method Null safety

D? readTableOrNull<T extends Table, D>(
  1. TableInfo<T, D> table
)

Reads all data that belongs to the given table from this row.

Returns null if this row does not contain non-null values of the table.

See also: readTable, which throws instead of returning null.

Implementation

D? readTableOrNull<T extends Table, D>(TableInfo<T, D> table) {
  return _parsedData[table] as D?;
}