whenSourceIsNull property

Object? whenSourceIsNull
final

Provides default value if SOURCE is null.

Additionally if mapping an enum "unknown" values in SOURCE will be mapped to this value.

Accepts Target Function() function or const Target value.

Implementation

// ignore: no-object-declaration, is correct
final Object? whenSourceIsNull;