mirrored_repositories/CMP-FIFA-World-Cup-Booking/lib/utils
/// contains all service to get feature from native
///
/// Example:
/// * Get image from gallery
/// * Get status connection
/// etc...
class NativeApiServices {
  static final NativeApiServices _nativeApiServices =
      NativeApiServices._internal();

  factory NativeApiServices() {
    return _nativeApiServices;
  }
  NativeApiServices._internal();

  // Example
  // final _imagePicker = ImagePicker();
  // Future<File?> getImage(ImageSource source,
  //     {int maxHeight = 800, int maxWidth = 800}) async {
  //   final image = await _imagePicker.pickImage(
  //       source: source,
  //       maxHeight: maxHeight.toDouble(),
  //       maxWidth: maxWidth.toDouble());

  //   if (image != null) return File(image.path);
  //   return null;
  // }
}
