getDatum method Null safety

Future<Datum?> getDatum()

Subclasses should implement this method to collect a Datum.

Can return null if no data is available. Can return an ErrorDatum if an error occurs.

Implementation

Future<Datum?> getDatum();