hasACamera property

bool get hasACamera

Returns if the device has at least one camera

Implementation

static bool get hasACamera {
  if (_hasBackCamera == null) {
    throw Exception('Please call [init] before!');
  }
  return _hasBackCamera! || _hasFrontCamera!;
}