BatterySpec.new$1 constructor
BatterySpec.new$1(
- JObject? context
from: public void <init>(android.content.Context context)
The returned object must be released after use, by calling the release method.
Implementation
factory BatterySpec.new$1(jni$_.JObject? context) {
final _$context = context?.reference ?? jni$_.jNullReference;
return BatterySpec.fromReference(
_new$1(
_class.reference.pointer,
_id_new$1 as jni$_.JMethodIDPtr,
_$context.pointer,
).reference,
);
}