android/src/main/java/com/example/flutter_segment/FlutterSegmentPlugin.java
private void enable(MethodCall call, Result result) {
    try {
      Analytics.with(this.applicationContext).optOut(false);
      result.success(true);
    } catch (Exception e) {
      result.error("FlutterSegmentException", e.getLocalizedMessage(), null);
    }
  }
// Instead, we use optOut as a proxy to achieve the same result.
Instead, we use optOut as a proxy to achieve the same result.
Instead we use optOut as a proxy to achieve the same result .
private void enable(MethodCall call, Result result) {
    try {
      Analytics.with(this.applicationContext).optOut(false);
      result.success(true);
    } catch (Exception e) {
      result.error("FlutterSegmentException", e.getLocalizedMessage(), null);
    }
  }
private void enable ( MethodCall call , Result result ) { try { Analytics . with ( this . applicationContext ) . optOut ( false ) ; result . success ( true ) ; } catch ( Exception e ) { result . error ( "FlutterSegmentException" , e . getLocalizedMessage ( ) , null ) ; } }
Instead, we use optOut as a proxy to achieve the same result.
Instead we use optOut as a proxy to achieve the same result .