exists<T extends Model> static method
- required int id,
Checks if record with id exists.
Implementation
static Future<bool> exists<T extends Model>({required int id}) async {
return await find<T>(id: id) != null;
}