autoId static method
Extracts and returns the auto-generated ID from the source.
Implementation
static String? autoId(dynamic source, [String? key]) {
final data = _v(key ?? EntityKey.i.id, source);
if (data is int || data is String) {
return "$data";
} else {
return null;
}
}