availableCameras static method
Implementation
static Future<List<UCameraDevice>> availableCameras() async {
final List<Object?>? raw = await UCameraChannel.invokeList("availableCameras");
if (raw == null) return const <UCameraDevice>[];
return raw.whereType<Map<Object?, Object?>>().map(UCameraDevice.fromMap).toList(growable: false);
}