nullableDartValue method

T? nullableDartValue(
  1. Object? databaseValue
)

Like dartValue, except that it supports null values which are forwarded unchanged.

Implementation

T? nullableDartValue(Object? databaseValue) {
  return databaseValue == null ? null : dartValue(databaseValue);
}