getDatum method
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
@override
Future<Datum?> getDatum() async => DeviceDatum(
DeviceInfo().platform,
DeviceInfo().deviceID,
deviceName: DeviceInfo().deviceName,
deviceModel: DeviceInfo().deviceModel,
deviceManufacturer: DeviceInfo().deviceManufacturer,
operatingSystem: DeviceInfo().operatingSystem,
hardware: DeviceInfo().hardware,
);