deviceInfo function

  1. @riverpod
DeviceInfoPlugin deviceInfo(
  1. Ref<Object?> ref
)

Access to DeviceInfo.

Implementation

@riverpod
DeviceInfoPlugin deviceInfo(Ref ref) {
  return ref.read(appProvider).device;
}