hasMoreThanOneCamera property

bool get hasMoreThanOneCamera

Returns if the device has more than one camera

Implementation

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