autoTimeMills static method
Extracts and returns the auto-generated timestamp from the source.
Implementation
static int? autoTimeMills(dynamic source, [String? key]) {
final data = _v(key ?? EntityKey.i.timeMills, source);
if (data is int) {
return data;
} else if (data is String) {
return int.tryParse(data);
} else {
return null;
}
}