jsonFind<T extends Model> static method
- String uuid
Returns raw JSON record by UUID.
Implementation
static Future<Map<String, dynamic>?> jsonFind<T extends Model>(
String uuid,
) async {
try {
final records = await jsonIndex<T>();
return records.firstWhereOrNull((r) => r['uuid'] == uuid);
} catch (e) {
return null;
}
}