diff --git a/experimental/pedometer/android/build.gradle b/experimental/pedometer/android/build.gradle index 6dc89efd7..de4a69eee 100644 --- a/experimental/pedometer/android/build.gradle +++ b/experimental/pedometer/android/build.gradle @@ -27,7 +27,7 @@ apply plugin: 'com.android.library' android { // Bumping the plugin compileSdkVersion requires all clients of this plugin // to bump the version in their app. - compileSdkVersion 31 + compileSdkVersion 34 // Bumping the plugin ndkVersion requires all clients of this plugin to bump // the version in their app and to download a newer version of the NDK. diff --git a/experimental/pedometer/example/android/app/build.gradle b/experimental/pedometer/example/android/app/build.gradle index d7627dcca..9dc4c0d60 100644 --- a/experimental/pedometer/example/android/app/build.gradle +++ b/experimental/pedometer/example/android/app/build.gradle @@ -53,7 +53,7 @@ android { applicationId "com.example.jni_demo" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. - compileSdkVersion 33 + compileSdkVersion 34 minSdkVersion 30 targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() diff --git a/experimental/pedometer/example/lib/main.dart b/experimental/pedometer/example/lib/main.dart index 1c735ae90..a9cd3a7a4 100644 --- a/experimental/pedometer/example/lib/main.dart +++ b/experimental/pedometer/example/lib/main.dart @@ -1,6 +1,6 @@ +import 'package:fl_chart/fl_chart.dart'; import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; -import 'package:fl_chart/fl_chart.dart'; import 'steps_repo.dart'; @@ -198,8 +198,8 @@ Widget getBottomTitles(double value, TitleMeta meta) { _ => '' }; return SideTitleWidget( - axisSide: meta.axisSide, space: 4, + meta: meta, child: Text( timeText, style: TextStyle(fontSize: 14, color: Colors.blue[900]), diff --git a/experimental/pedometer/example/lib/steps_repo.dart b/experimental/pedometer/example/lib/steps_repo.dart index 553f01536..a14518076 100644 --- a/experimental/pedometer/example/lib/steps_repo.dart +++ b/experimental/pedometer/example/lib/steps_repo.dart @@ -146,8 +146,8 @@ class _AndroidStepsRepo implements StepsRepo { {hc.StepsRecord.COUNT_TOTAL} .toJSet(hc.AggregateMetric.type(jni.JLong.type)), hc.TimeRangeFilter.between( - hc.Instant.ofEpochMilli(start), - hc.Instant.ofEpochMilli(end), + hc.Instant.ofEpochMilli(start)!, + hc.Instant.ofEpochMilli(end)!, ), jni.JSet.hash(jni.JObject.type), ); @@ -156,7 +156,7 @@ class _AndroidStepsRepo implements StepsRepo { final data = await Future.wait(futures); return data.asMap().entries.map((entry) { final stepsLong = entry.value.get(hc.StepsRecord.COUNT_TOTAL); - final steps = stepsLong.isNull ? 0 : stepsLong.intValue(); + final steps = stepsLong?.intValue() ?? 0; return Steps(entry.key.toString().padLeft(2, '0'), steps); }).toList(); } diff --git a/experimental/pedometer/example/pubspec.yaml b/experimental/pedometer/example/pubspec.yaml index ea909a3bb..ca3e3aec9 100644 --- a/experimental/pedometer/example/pubspec.yaml +++ b/experimental/pedometer/example/pubspec.yaml @@ -41,7 +41,7 @@ dependencies: ffi: ^2.1.2 intl: ^0.20.0 - jni: ^0.12.0 + jni: ^0.13.0 fl_chart: ^0.70.0 dev_dependencies: diff --git a/experimental/pedometer/lib/health_connect.dart b/experimental/pedometer/lib/health_connect.dart index 020c24340..aae2b4afd 100644 --- a/experimental/pedometer/lib/health_connect.dart +++ b/experimental/pedometer/lib/health_connect.dart @@ -20,6 +20,7 @@ // ignore_for_file: prefer_double_quotes // ignore_for_file: unintended_html_in_doc_comment // ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_non_null_assertion // ignore_for_file: unnecessary_parenthesis // ignore_for_file: unused_element // ignore_for_file: unused_field @@ -29,28 +30,29 @@ // ignore_for_file: use_super_parameters import 'dart:core' show Object, String, bool, double, int; -import 'dart:core' as _$core; +import 'dart:core' as core$_; -import 'package:jni/_internal.dart' as _$jni; -import 'package:jni/jni.dart' as _$jni; +import 'package:jni/_internal.dart' as jni$_; +import 'package:jni/jni.dart' as jni$_; /// from: `androidx.health.connect.client.HealthConnectClient$Companion` -class HealthConnectClient_Companion extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; - - @_$jni.internal - HealthConnectClient_Companion.fromReference( - _$jni.JReference reference, +class HealthConnectClient$Companion extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; + + @jni$_.internal + HealthConnectClient$Companion.fromReference( + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/HealthConnectClient$Companion'); /// The type which includes information such as the signature of this class. - static const type = $HealthConnectClient_Companion$Type(); + static const nullableType = $HealthConnectClient$Companion$NullableType(); + static const type = $HealthConnectClient$Companion$Type(); static final _id_DEFAULT_PROVIDER_PACKAGE_NAME = _class.staticFieldId( r'DEFAULT_PROVIDER_PACKAGE_NAME', r'Ljava/lang/String;', @@ -58,8 +60,8 @@ class HealthConnectClient_Companion extends _$jni.JObject { /// from: `static public final java.lang.String DEFAULT_PROVIDER_PACKAGE_NAME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get DEFAULT_PROVIDER_PACKAGE_NAME => - _id_DEFAULT_PROVIDER_PACKAGE_NAME.get(_class, const _$jni.JStringType()); + static jni$_.JString get DEFAULT_PROVIDER_PACKAGE_NAME => + _id_DEFAULT_PROVIDER_PACKAGE_NAME.get(_class, const jni$_.JStringType()); static final _id_HEALTH_CONNECT_CLIENT_TAG = _class.staticFieldId( r'HEALTH_CONNECT_CLIENT_TAG', @@ -68,41 +70,43 @@ class HealthConnectClient_Companion extends _$jni.JObject { /// from: `static public final java.lang.String HEALTH_CONNECT_CLIENT_TAG` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get HEALTH_CONNECT_CLIENT_TAG => - _id_HEALTH_CONNECT_CLIENT_TAG.get(_class, const _$jni.JStringType()); + static jni$_.JString get HEALTH_CONNECT_CLIENT_TAG => + _id_HEALTH_CONNECT_CLIENT_TAG.get(_class, const jni$_.JStringType()); static final _id_isAvailable = _class.instanceMethodId( r'isAvailable', r'(Landroid/content/Context;Ljava/util/List;)Z', ); - static final _isAvailable = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _isAvailable = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public final boolean isAvailable(android.content.Context context, java.util.List list)` bool isAvailable( Context context, - _$jni.JList<_$jni.JString> list, + jni$_.JList list, ) { + final _$context = context.reference; + final _$list = list.reference; return _isAvailable( reference.pointer, - _id_isAvailable as _$jni.JMethodIDPtr, - context.reference.pointer, - list.reference.pointer) + _id_isAvailable as jni$_.JMethodIDPtr, + _$context.pointer, + _$list.pointer) .boolean; } @@ -111,35 +115,37 @@ class HealthConnectClient_Companion extends _$jni.JObject { r'(Landroid/content/Context;Ljava/util/List;)Landroidx/health/connect/client/HealthConnectClient;', ); - static final _getOrCreate = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _getOrCreate = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public final androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context, java.util.List list)` /// The returned object must be released after use, by calling the [release] method. HealthConnectClient getOrCreate( Context context, - _$jni.JList<_$jni.JString> list, + jni$_.JList list, ) { + final _$context = context.reference; + final _$list = list.reference; return _getOrCreate( reference.pointer, - _id_getOrCreate as _$jni.JMethodIDPtr, - context.reference.pointer, - list.reference.pointer) - .object(const $HealthConnectClient$Type()); + _id_getOrCreate as jni$_.JMethodIDPtr, + _$context.pointer, + _$list.pointer) + .object(const $HealthConnectClient$Type()); } static final _id_isAvailable$1 = _class.instanceMethodId( @@ -147,23 +153,24 @@ class HealthConnectClient_Companion extends _$jni.JObject { r'(Landroid/content/Context;)Z', ); - static final _isAvailable$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _isAvailable$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final boolean isAvailable(android.content.Context context)` bool isAvailable$1( Context context, ) { + final _$context = context.reference; return _isAvailable$1(reference.pointer, - _id_isAvailable$1 as _$jni.JMethodIDPtr, context.reference.pointer) + _id_isAvailable$1 as jni$_.JMethodIDPtr, _$context.pointer) .boolean; } @@ -172,77 +179,125 @@ class HealthConnectClient_Companion extends _$jni.JObject { r'(Landroid/content/Context;)Landroidx/health/connect/client/HealthConnectClient;', ); - static final _getOrCreate$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getOrCreate$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context)` /// The returned object must be released after use, by calling the [release] method. HealthConnectClient getOrCreate$1( Context context, ) { + final _$context = context.reference; return _getOrCreate$1(reference.pointer, - _id_getOrCreate$1 as _$jni.JMethodIDPtr, context.reference.pointer) - .object(const $HealthConnectClient$Type()); + _id_getOrCreate$1 as jni$_.JMethodIDPtr, _$context.pointer) + .object(const $HealthConnectClient$Type()); } } -final class $HealthConnectClient_Companion$Type - extends _$jni.JObjType { - @_$jni.internal - const $HealthConnectClient_Companion$Type(); +final class $HealthConnectClient$Companion$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $HealthConnectClient$Companion$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/HealthConnectClient$Companion;'; - @_$jni.internal - @_$core.override - HealthConnectClient_Companion fromReference(_$jni.JReference reference) => - HealthConnectClient_Companion.fromReference(reference); + @jni$_.internal + @core$_.override + HealthConnectClient$Companion? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : HealthConnectClient$Companion.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($HealthConnectClient$Companion$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($HealthConnectClient$Companion$NullableType) && + other is $HealthConnectClient$Companion$NullableType; + } +} - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); +final class $HealthConnectClient$Companion$Type + extends jni$_.JObjType { + @jni$_.internal + const $HealthConnectClient$Companion$Type(); + + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/HealthConnectClient$Companion;'; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + HealthConnectClient$Companion fromReference(jni$_.JReference reference) => + HealthConnectClient$Companion.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $HealthConnectClient$Companion$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override - int get hashCode => ($HealthConnectClient_Companion$Type).hashCode; + @core$_.override + int get hashCode => ($HealthConnectClient$Companion$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($HealthConnectClient_Companion$Type) && - other is $HealthConnectClient_Companion$Type; + return other.runtimeType == ($HealthConnectClient$Companion$Type) && + other is $HealthConnectClient$Companion$Type; } } /// from: `androidx.health.connect.client.HealthConnectClient` -class HealthConnectClient extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; +class HealthConnectClient extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; - @_$jni.internal + @jni$_.internal HealthConnectClient.fromReference( - _$jni.JReference reference, + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/HealthConnectClient'); /// The type which includes information such as the signature of this class. + static const nullableType = $HealthConnectClient$NullableType(); static const type = $HealthConnectClient$Type(); static final _id_Companion = _class.staticFieldId( r'Companion', @@ -251,8 +306,8 @@ class HealthConnectClient extends _$jni.JObject { /// from: `static public final androidx.health.connect.client.HealthConnectClient$Companion Companion` /// The returned object must be released after use, by calling the [release] method. - static HealthConnectClient_Companion get Companion => - _id_Companion.get(_class, const $HealthConnectClient_Companion$Type()); + static HealthConnectClient$Companion get Companion => + _id_Companion.get(_class, const $HealthConnectClient$Companion$Type()); static final _id_DEFAULT_PROVIDER_PACKAGE_NAME = _class.staticFieldId( r'DEFAULT_PROVIDER_PACKAGE_NAME', @@ -261,8 +316,8 @@ class HealthConnectClient extends _$jni.JObject { /// from: `static public final java.lang.String DEFAULT_PROVIDER_PACKAGE_NAME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get DEFAULT_PROVIDER_PACKAGE_NAME => - _id_DEFAULT_PROVIDER_PACKAGE_NAME.get(_class, const _$jni.JStringType()); + static jni$_.JString get DEFAULT_PROVIDER_PACKAGE_NAME => + _id_DEFAULT_PROVIDER_PACKAGE_NAME.get(_class, const jni$_.JStringType()); static final _id_HEALTH_CONNECT_CLIENT_TAG = _class.staticFieldId( r'HEALTH_CONNECT_CLIENT_TAG', @@ -271,32 +326,32 @@ class HealthConnectClient extends _$jni.JObject { /// from: `static public final java.lang.String HEALTH_CONNECT_CLIENT_TAG` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get HEALTH_CONNECT_CLIENT_TAG => - _id_HEALTH_CONNECT_CLIENT_TAG.get(_class, const _$jni.JStringType()); + static jni$_.JString get HEALTH_CONNECT_CLIENT_TAG => + _id_HEALTH_CONNECT_CLIENT_TAG.get(_class, const jni$_.JStringType()); static final _id_getPermissionController = _class.instanceMethodId( r'getPermissionController', r'()Landroidx/health/connect/client/PermissionController;', ); - static final _getPermissionController = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getPermissionController = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract androidx.health.connect.client.PermissionController getPermissionController()` /// The returned object must be released after use, by calling the [release] method. PermissionController getPermissionController() { return _getPermissionController(reference.pointer, - _id_getPermissionController as _$jni.JMethodIDPtr) - .object(const $PermissionController$Type()); + _id_getPermissionController as jni$_.JMethodIDPtr) + .object(const $PermissionController$Type()); } static final _id_insertRecords = _class.instanceMethodId( @@ -304,41 +359,45 @@ class HealthConnectClient extends _$jni.JObject { r'(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _insertRecords = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _insertRecords = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object insertRecords(java.util.List list, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JObject> insertRecords( - _$jni.JList<_$jni.JObject> list, + core$_.Future insertRecords( + jni$_.JList list, ) async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); - _insertRecords(reference.pointer, _id_insertRecords as _$jni.JMethodIDPtr, - list.reference.pointer, $c.reference.pointer) - .object(const _$jni.JObjectType()); + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$list = list.reference; + _insertRecords(reference.pointer, _id_insertRecords as jni$_.JMethodIDPtr, + _$list.pointer, _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const _$jni.JObjectType().jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JObjectType().jClass.reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JObjectType().fromReference($o); + $k.release(); + return const jni$_.JObjectType().fromReference($o); } static final _id_updateRecords = _class.instanceMethodId( @@ -346,41 +405,45 @@ class HealthConnectClient extends _$jni.JObject { r'(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _updateRecords = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _updateRecords = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object updateRecords(java.util.List list, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JObject> updateRecords( - _$jni.JList<_$jni.JObject> list, + core$_.Future updateRecords( + jni$_.JList list, ) async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); - _updateRecords(reference.pointer, _id_updateRecords as _$jni.JMethodIDPtr, - list.reference.pointer, $c.reference.pointer) - .object(const _$jni.JObjectType()); + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$list = list.reference; + _updateRecords(reference.pointer, _id_updateRecords as jni$_.JMethodIDPtr, + _$list.pointer, _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const _$jni.JObjectType().jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JObjectType().jClass.reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JObjectType().fromReference($o); + $k.release(); + return const jni$_.JObjectType().fromReference($o); } static final _id_deleteRecords = _class.instanceMethodId( @@ -388,52 +451,58 @@ class HealthConnectClient extends _$jni.JObject { r'(Lkotlin/reflect/KClass;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _deleteRecords = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _deleteRecords = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object deleteRecords(kotlin.reflect.KClass kClass, java.util.List list, java.util.List list1, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JObject> deleteRecords( - _$jni.JObject kClass, - _$jni.JList<_$jni.JString> list, - _$jni.JList<_$jni.JString> list1, + core$_.Future deleteRecords( + jni$_.JObject kClass, + jni$_.JList list, + jni$_.JList list1, ) async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$kClass = kClass.reference; + final _$list = list.reference; + final _$list1 = list1.reference; _deleteRecords( reference.pointer, - _id_deleteRecords as _$jni.JMethodIDPtr, - kClass.reference.pointer, - list.reference.pointer, - list1.reference.pointer, - $c.reference.pointer) - .object(const _$jni.JObjectType()); + _id_deleteRecords as jni$_.JMethodIDPtr, + _$kClass.pointer, + _$list.pointer, + _$list1.pointer, + _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const _$jni.JObjectType().jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JObjectType().jClass.reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JObjectType().fromReference($o); + $k.release(); + return const jni$_.JObjectType().fromReference($o); } static final _id_deleteRecords$1 = _class.instanceMethodId( @@ -441,48 +510,53 @@ class HealthConnectClient extends _$jni.JObject { r'(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _deleteRecords$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _deleteRecords$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object deleteRecords(kotlin.reflect.KClass kClass, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JObject> deleteRecords$1( - _$jni.JObject kClass, + core$_.Future deleteRecords$1( + jni$_.JObject kClass, TimeRangeFilter timeRangeFilter, ) async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$kClass = kClass.reference; + final _$timeRangeFilter = timeRangeFilter.reference; _deleteRecords$1( reference.pointer, - _id_deleteRecords$1 as _$jni.JMethodIDPtr, - kClass.reference.pointer, - timeRangeFilter.reference.pointer, - $c.reference.pointer) - .object(const _$jni.JObjectType()); + _id_deleteRecords$1 as jni$_.JMethodIDPtr, + _$kClass.pointer, + _$timeRangeFilter.pointer, + _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const _$jni.JObjectType().jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JObjectType().jClass.reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JObjectType().fromReference($o); + $k.release(); + return const jni$_.JObjectType().fromReference($o); } static final _id_readRecord = _class.instanceMethodId( @@ -490,49 +564,50 @@ class HealthConnectClient extends _$jni.JObject { r'(Lkotlin/reflect/KClass;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _readRecord = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _readRecord = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object readRecord(kotlin.reflect.KClass kClass, java.lang.String string, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JObject> readRecord<$T extends _$jni.JObject>( - _$jni.JObject kClass, - _$jni.JString string, { - required _$jni.JObjType<$T> T, + core$_.Future readRecord<$T extends jni$_.JObject>( + jni$_.JObject kClass, + jni$_.JString string, { + required jni$_.JObjType<$T> T, }) async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); - _readRecord( - reference.pointer, - _id_readRecord as _$jni.JMethodIDPtr, - kClass.reference.pointer, - string.reference.pointer, - $c.reference.pointer) - .object(const _$jni.JObjectType()); + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$kClass = kClass.reference; + final _$string = string.reference; + _readRecord(reference.pointer, _id_readRecord as jni$_.JMethodIDPtr, + _$kClass.pointer, _$string.pointer, _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const _$jni.JObjectType().jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JObjectType().jClass.reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JObjectType().fromReference($o); + $k.release(); + return const jni$_.JObjectType().fromReference($o); } static final _id_readRecords = _class.instanceMethodId( @@ -540,45 +615,49 @@ class HealthConnectClient extends _$jni.JObject { r'(Landroidx/health/connect/client/request/ReadRecordsRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _readRecords = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _readRecords = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object readRecords(androidx.health.connect.client.request.ReadRecordsRequest readRecordsRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JObject> readRecords<$T extends _$jni.JObject>( + core$_.Future readRecords<$T extends jni$_.JObject>( ReadRecordsRequest<$T> readRecordsRequest, { - _$jni.JObjType<$T>? T, + jni$_.JObjType<$T>? T, }) async { - T ??= _$jni.lowestCommonSuperType([ - (readRecordsRequest.$type as $ReadRecordsRequest$Type).T, - ]) as _$jni.JObjType<$T>; - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); - _readRecords(reference.pointer, _id_readRecords as _$jni.JMethodIDPtr, - readRecordsRequest.reference.pointer, $c.reference.pointer) - .object(const _$jni.JObjectType()); + T ??= jni$_.lowestCommonSuperType([ + (readRecordsRequest.$type as $ReadRecordsRequest$Type).T, + ]) as jni$_.JObjType<$T>; + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$readRecordsRequest = readRecordsRequest.reference; + _readRecords(reference.pointer, _id_readRecords as jni$_.JMethodIDPtr, + _$readRecordsRequest.pointer, _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const _$jni.JObjectType().jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JObjectType().jClass.reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JObjectType().fromReference($o); + $k.release(); + return const jni$_.JObjectType().fromReference($o); } static final _id_aggregate = _class.instanceMethodId( @@ -586,40 +665,44 @@ class HealthConnectClient extends _$jni.JObject { r'(Landroidx/health/connect/client/request/AggregateRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _aggregate = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _aggregate = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object aggregate(androidx.health.connect.client.request.AggregateRequest aggregateRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future aggregate( + core$_.Future aggregate( AggregateRequest aggregateRequest, ) async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); - _aggregate(reference.pointer, _id_aggregate as _$jni.JMethodIDPtr, - aggregateRequest.reference.pointer, $c.reference.pointer) - .object(const _$jni.JObjectType()); + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$aggregateRequest = aggregateRequest.reference; + _aggregate(reference.pointer, _id_aggregate as jni$_.JMethodIDPtr, + _$aggregateRequest.pointer, _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const $AggregationResult$Type().jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const $AggregationResult$Type().jClass.reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } + $k.release(); return const $AggregationResult$Type().fromReference($o); } @@ -628,45 +711,52 @@ class HealthConnectClient extends _$jni.JObject { r'(Landroidx/health/connect/client/request/AggregateGroupByDurationRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _aggregateGroupByDuration = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _aggregateGroupByDuration = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object aggregateGroupByDuration(androidx.health.connect.client.request.AggregateGroupByDurationRequest aggregateGroupByDurationRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JList<_$jni.JObject>> aggregateGroupByDuration( + core$_.Future> aggregateGroupByDuration( AggregateGroupByDurationRequest aggregateGroupByDurationRequest, ) async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$aggregateGroupByDurationRequest = + aggregateGroupByDurationRequest.reference; _aggregateGroupByDuration( reference.pointer, - _id_aggregateGroupByDuration as _$jni.JMethodIDPtr, - aggregateGroupByDurationRequest.reference.pointer, - $c.reference.pointer) - .object(const _$jni.JObjectType()); + _id_aggregateGroupByDuration as jni$_.JMethodIDPtr, + _$aggregateGroupByDurationRequest.pointer, + _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = - const _$jni.JListType(_$jni.JObjectType()).jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JListType(jni$_.JObjectType()) + .jClass + .reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JListType(_$jni.JObjectType()).fromReference($o); + $k.release(); + return const jni$_.JListType(jni$_.JObjectType()) + .fromReference($o); } static final _id_aggregateGroupByPeriod = _class.instanceMethodId( @@ -674,45 +764,52 @@ class HealthConnectClient extends _$jni.JObject { r'(Landroidx/health/connect/client/request/AggregateGroupByPeriodRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _aggregateGroupByPeriod = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _aggregateGroupByPeriod = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object aggregateGroupByPeriod(androidx.health.connect.client.request.AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JList<_$jni.JObject>> aggregateGroupByPeriod( + core$_.Future> aggregateGroupByPeriod( AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, ) async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$aggregateGroupByPeriodRequest = + aggregateGroupByPeriodRequest.reference; _aggregateGroupByPeriod( reference.pointer, - _id_aggregateGroupByPeriod as _$jni.JMethodIDPtr, - aggregateGroupByPeriodRequest.reference.pointer, - $c.reference.pointer) - .object(const _$jni.JObjectType()); + _id_aggregateGroupByPeriod as jni$_.JMethodIDPtr, + _$aggregateGroupByPeriodRequest.pointer, + _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = - const _$jni.JListType(_$jni.JObjectType()).jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JListType(jni$_.JObjectType()) + .jClass + .reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JListType(_$jni.JObjectType()).fromReference($o); + $k.release(); + return const jni$_.JListType(jni$_.JObjectType()) + .fromReference($o); } static final _id_getChangesToken = _class.instanceMethodId( @@ -720,44 +817,48 @@ class HealthConnectClient extends _$jni.JObject { r'(Landroidx/health/connect/client/request/ChangesTokenRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _getChangesToken = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _getChangesToken = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object getChangesToken(androidx.health.connect.client.request.ChangesTokenRequest changesTokenRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JString> getChangesToken( + core$_.Future getChangesToken( ChangesTokenRequest changesTokenRequest, ) async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$changesTokenRequest = changesTokenRequest.reference; _getChangesToken( reference.pointer, - _id_getChangesToken as _$jni.JMethodIDPtr, - changesTokenRequest.reference.pointer, - $c.reference.pointer) - .object(const _$jni.JObjectType()); + _id_getChangesToken as jni$_.JMethodIDPtr, + _$changesTokenRequest.pointer, + _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const _$jni.JStringType().jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JStringType().jClass.reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JStringType().fromReference($o); + $k.release(); + return const jni$_.JStringType().fromReference($o); } static final _id_registerForDataNotifications = _class.instanceMethodId( @@ -766,48 +867,53 @@ class HealthConnectClient extends _$jni.JObject { ); static final _registerForDataNotifications = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object registerForDataNotifications(java.lang.String string, java.lang.Iterable iterable, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JObject> registerForDataNotifications( - _$jni.JString string, - _$jni.JObject iterable, + core$_.Future registerForDataNotifications( + jni$_.JString string, + jni$_.JObject iterable, ) async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$string = string.reference; + final _$iterable = iterable.reference; _registerForDataNotifications( reference.pointer, - _id_registerForDataNotifications as _$jni.JMethodIDPtr, - string.reference.pointer, - iterable.reference.pointer, - $c.reference.pointer) - .object(const _$jni.JObjectType()); + _id_registerForDataNotifications as jni$_.JMethodIDPtr, + _$string.pointer, + _$iterable.pointer, + _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const _$jni.JObjectType().jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JObjectType().jClass.reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JObjectType().fromReference($o); + $k.release(); + return const jni$_.JObjectType().fromReference($o); } static final _id_unregisterFromDataNotifications = _class.instanceMethodId( @@ -816,44 +922,48 @@ class HealthConnectClient extends _$jni.JObject { ); static final _unregisterFromDataNotifications = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object unregisterFromDataNotifications(java.lang.String string, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JObject> unregisterFromDataNotifications( - _$jni.JString string, + core$_.Future unregisterFromDataNotifications( + jni$_.JString string, ) async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$string = string.reference; _unregisterFromDataNotifications( reference.pointer, - _id_unregisterFromDataNotifications as _$jni.JMethodIDPtr, - string.reference.pointer, - $c.reference.pointer) - .object(const _$jni.JObjectType()); + _id_unregisterFromDataNotifications as jni$_.JMethodIDPtr, + _$string.pointer, + _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const _$jni.JObjectType().jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JObjectType().jClass.reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JObjectType().fromReference($o); + $k.release(); + return const jni$_.JObjectType().fromReference($o); } static final _id_getChanges = _class.instanceMethodId( @@ -861,41 +971,45 @@ class HealthConnectClient extends _$jni.JObject { r'(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _getChanges = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _getChanges = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object getChanges(java.lang.String string, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JObject> getChanges( - _$jni.JString string, + core$_.Future getChanges( + jni$_.JString string, ) async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); - _getChanges(reference.pointer, _id_getChanges as _$jni.JMethodIDPtr, - string.reference.pointer, $c.reference.pointer) - .object(const _$jni.JObjectType()); + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$string = string.reference; + _getChanges(reference.pointer, _id_getChanges as jni$_.JMethodIDPtr, + _$string.pointer, _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const _$jni.JObjectType().jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JObjectType().jClass.reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JObjectType().fromReference($o); + $k.release(); + return const jni$_.JObjectType().fromReference($o); } static final _id_isAvailable = _class.staticMethodId( @@ -903,33 +1017,35 @@ class HealthConnectClient extends _$jni.JObject { r'(Landroid/content/Context;Ljava/util/List;)Z', ); - static final _isAvailable = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _isAvailable = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallStaticBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `static public boolean isAvailable(android.content.Context context, java.util.List list)` static bool isAvailable( Context context, - _$jni.JList<_$jni.JString> list, + jni$_.JList list, ) { + final _$context = context.reference; + final _$list = list.reference; return _isAvailable( _class.reference.pointer, - _id_isAvailable as _$jni.JMethodIDPtr, - context.reference.pointer, - list.reference.pointer) + _id_isAvailable as jni$_.JMethodIDPtr, + _$context.pointer, + _$list.pointer) .boolean; } @@ -938,35 +1054,37 @@ class HealthConnectClient extends _$jni.JObject { r'(Landroid/content/Context;Ljava/util/List;)Landroidx/health/connect/client/HealthConnectClient;', ); - static final _getOrCreate = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _getOrCreate = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `static public androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context, java.util.List list)` /// The returned object must be released after use, by calling the [release] method. static HealthConnectClient getOrCreate( Context context, - _$jni.JList<_$jni.JString> list, + jni$_.JList list, ) { + final _$context = context.reference; + final _$list = list.reference; return _getOrCreate( _class.reference.pointer, - _id_getOrCreate as _$jni.JMethodIDPtr, - context.reference.pointer, - list.reference.pointer) - .object(const $HealthConnectClient$Type()); + _id_getOrCreate as jni$_.JMethodIDPtr, + _$context.pointer, + _$list.pointer) + .object(const $HealthConnectClient$Type()); } static final _id_isAvailable$1 = _class.staticMethodId( @@ -974,23 +1092,24 @@ class HealthConnectClient extends _$jni.JObject { r'(Landroid/content/Context;)Z', ); - static final _isAvailable$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _isAvailable$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public boolean isAvailable(android.content.Context context)` static bool isAvailable$1( Context context, ) { + final _$context = context.reference; return _isAvailable$1(_class.reference.pointer, - _id_isAvailable$1 as _$jni.JMethodIDPtr, context.reference.pointer) + _id_isAvailable$1 as jni$_.JMethodIDPtr, _$context.pointer) .boolean; } @@ -999,37 +1118,38 @@ class HealthConnectClient extends _$jni.JObject { r'(Landroid/content/Context;)Landroidx/health/connect/client/HealthConnectClient;', ); - static final _getOrCreate$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getOrCreate$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context)` /// The returned object must be released after use, by calling the [release] method. static HealthConnectClient getOrCreate$1( Context context, ) { + final _$context = context.reference; return _getOrCreate$1(_class.reference.pointer, - _id_getOrCreate$1 as _$jni.JMethodIDPtr, context.reference.pointer) - .object(const $HealthConnectClient$Type()); + _id_getOrCreate$1 as jni$_.JMethodIDPtr, _$context.pointer) + .object(const $HealthConnectClient$Type()); } /// Maps a specific port to the implemented interface. - static final _$core.Map _$impls = {}; - static _$jni.JObjectPtr _$invoke( + static final core$_.Map _$impls = {}; + static jni$_.JObjectPtr _$invoke( int port, - _$jni.JObjectPtr descriptor, - _$jni.JObjectPtr args, + jni$_.JObjectPtr descriptor, + jni$_.JObjectPtr args, ) { return _$invokeMethod( port, - _$jni.MethodInvocation.fromAddresses( + jni$_.MethodInvocation.fromAddresses( 0, descriptor.address, args.address, @@ -1037,15 +1157,15 @@ class HealthConnectClient extends _$jni.JObject { ); } - static final _$jni.Pointer< - _$jni.NativeFunction< - _$jni.JObjectPtr Function( - _$jni.Int64, _$jni.JObjectPtr, _$jni.JObjectPtr)>> - _$invokePointer = _$jni.Pointer.fromFunction(_$invoke); + static final jni$_.Pointer< + jni$_.NativeFunction< + jni$_.JObjectPtr Function( + jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)>> + _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); - static _$jni.Pointer<_$jni.Void> _$invokeMethod( + static jni$_.Pointer _$invokeMethod( int $p, - _$jni.MethodInvocation $i, + jni$_.MethodInvocation $i, ) { try { final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); @@ -1053,222 +1173,252 @@ class HealthConnectClient extends _$jni.JObject { if ($d == r'getPermissionController()Landroidx/health/connect/client/PermissionController;') { final $r = _$impls[$p]!.getPermissionController(); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'insertRecords(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.insertRecords( - $a[0].as(const _$jni.JListType(_$jni.JObjectType()), + $a![0]!.as( + const jni$_.JListType( + jni$_.JObjectNullableType()), releaseOriginal: true), - $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'updateRecords(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.updateRecords( - $a[0].as(const _$jni.JListType(_$jni.JObjectType()), + $a![0]!.as( + const jni$_.JListType( + jni$_.JObjectNullableType()), releaseOriginal: true), - $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'deleteRecords(Lkotlin/reflect/KClass;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.deleteRecords( - $a[0].as(const _$jni.JObjectType(), releaseOriginal: true), - $a[1].as(const _$jni.JListType(_$jni.JStringType()), + $a![0]!.as(const jni$_.JObjectType(), releaseOriginal: true), + $a![1]!.as( + const jni$_.JListType( + jni$_.JStringNullableType()), releaseOriginal: true), - $a[2].as(const _$jni.JListType(_$jni.JStringType()), + $a![2]!.as( + const jni$_.JListType( + jni$_.JStringNullableType()), releaseOriginal: true), - $a[3].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![3]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'deleteRecords(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.deleteRecords$1( - $a[0].as(const _$jni.JObjectType(), releaseOriginal: true), - $a[1].as(const $TimeRangeFilter$Type(), releaseOriginal: true), - $a[2].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![0]!.as(const jni$_.JObjectType(), releaseOriginal: true), + $a![1]!.as(const $TimeRangeFilter$Type(), releaseOriginal: true), + $a![2]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'readRecord(Lkotlin/reflect/KClass;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.readRecord( - $a[0].as(const _$jni.JObjectType(), releaseOriginal: true), - $a[1].as(const _$jni.JStringType(), releaseOriginal: true), - $a[2].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![0]!.as(const jni$_.JObjectType(), releaseOriginal: true), + $a![1]!.as(const jni$_.JStringType(), releaseOriginal: true), + $a![2]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'readRecords(Landroidx/health/connect/client/request/ReadRecordsRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.readRecords( - $a[0].as(const $ReadRecordsRequest$Type(_$jni.JObjectType()), + $a![0]!.as( + const $ReadRecordsRequest$Type( + jni$_.JObjectType()), releaseOriginal: true), - $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'aggregate(Landroidx/health/connect/client/request/AggregateRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.aggregate( - $a[0].as(const $AggregateRequest$Type(), releaseOriginal: true), - $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![0]!.as(const $AggregateRequest$Type(), releaseOriginal: true), + $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'aggregateGroupByDuration(Landroidx/health/connect/client/request/AggregateGroupByDurationRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.aggregateGroupByDuration( - $a[0].as(const $AggregateGroupByDurationRequest$Type(), + $a![0]!.as(const $AggregateGroupByDurationRequest$Type(), releaseOriginal: true), - $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'aggregateGroupByPeriod(Landroidx/health/connect/client/request/AggregateGroupByPeriodRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.aggregateGroupByPeriod( - $a[0].as(const $AggregateGroupByPeriodRequest$Type(), + $a![0]!.as(const $AggregateGroupByPeriodRequest$Type(), releaseOriginal: true), - $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'getChangesToken(Landroidx/health/connect/client/request/ChangesTokenRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.getChangesToken( - $a[0].as(const $ChangesTokenRequest$Type(), releaseOriginal: true), - $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![0]!.as(const $ChangesTokenRequest$Type(), releaseOriginal: true), + $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'registerForDataNotifications(Ljava/lang/String;Ljava/lang/Iterable;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.registerForDataNotifications( - $a[0].as(const _$jni.JStringType(), releaseOriginal: true), - $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), - $a[2].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![0]!.as(const jni$_.JStringType(), releaseOriginal: true), + $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), + $a![2]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'unregisterFromDataNotifications(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.unregisterFromDataNotifications( - $a[0].as(const _$jni.JStringType(), releaseOriginal: true), - $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![0]!.as(const jni$_.JStringType(), releaseOriginal: true), + $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'getChanges(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.getChanges( - $a[0].as(const _$jni.JStringType(), releaseOriginal: true), - $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![0]!.as(const jni$_.JStringType(), releaseOriginal: true), + $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'isAvailable(Landroid/content/Context;Ljava/util/List;)Z') { final $r = _$impls[$p]!.isAvailable( - $a[0].as(const $Context$Type(), releaseOriginal: true), - $a[1].as(const _$jni.JListType(_$jni.JStringType()), + $a![0]!.as(const $Context$Type(), releaseOriginal: true), + $a![1]!.as( + const jni$_.JListType( + jni$_.JStringNullableType()), releaseOriginal: true), ); - return _$jni.JBoolean($r).reference.toPointer(); + return jni$_.JBoolean($r).reference.toPointer(); } if ($d == r'getOrCreate(Landroid/content/Context;Ljava/util/List;)Landroidx/health/connect/client/HealthConnectClient;') { final $r = _$impls[$p]!.getOrCreate( - $a[0].as(const $Context$Type(), releaseOriginal: true), - $a[1].as(const _$jni.JListType(_$jni.JStringType()), + $a![0]!.as(const $Context$Type(), releaseOriginal: true), + $a![1]!.as( + const jni$_.JListType( + jni$_.JStringNullableType()), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'isAvailable(Landroid/content/Context;)Z') { final $r = _$impls[$p]!.isAvailable$1( - $a[0].as(const $Context$Type(), releaseOriginal: true), + $a![0]!.as(const $Context$Type(), releaseOriginal: true), ); - return _$jni.JBoolean($r).reference.toPointer(); + return jni$_.JBoolean($r).reference.toPointer(); } if ($d == r'getOrCreate(Landroid/content/Context;)Landroidx/health/connect/client/HealthConnectClient;') { final $r = _$impls[$p]!.getOrCreate$1( - $a[0].as(const $Context$Type(), releaseOriginal: true), + $a![0]!.as(const $Context$Type(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } } catch (e) { - return _$jni.ProtectedJniExtensions.newDartException(e); + return jni$_.ProtectedJniExtensions.newDartException(e); } - return _$jni.nullptr; + return jni$_.nullptr; } static void implementIn( - _$jni.JImplementer implementer, + jni$_.JImplementer implementer, $HealthConnectClient $impl, ) { - late final _$jni.RawReceivePort $p; - $p = _$jni.RawReceivePort(($m) { + late final jni$_.RawReceivePort $p; + $p = jni$_.RawReceivePort(($m) { if ($m == null) { _$impls.remove($p.sendPort.nativePort); $p.close(); return; } - final $i = _$jni.MethodInvocation.fromMessage($m); + final $i = jni$_.MethodInvocation.fromMessage($m); final $r = _$invokeMethod($p.sendPort.nativePort, $i); - _$jni.ProtectedJniExtensions.returnResult($i.result, $r); + jni$_.ProtectedJniExtensions.returnResult($i.result, $r); }); implementer.add( r'androidx.health.connect.client.HealthConnectClient', @@ -1283,7 +1433,7 @@ class HealthConnectClient extends _$jni.JObject { factory HealthConnectClient.implement( $HealthConnectClient $impl, ) { - final $i = _$jni.JImplementer(); + final $i = jni$_.JImplementer(); implementIn($i, $impl); return HealthConnectClient.fromReference( $i.implementReference(), @@ -1294,91 +1444,95 @@ class HealthConnectClient extends _$jni.JObject { abstract base mixin class $HealthConnectClient { factory $HealthConnectClient({ required PermissionController Function() getPermissionController, - required _$jni.JObject Function( - _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) + required jni$_.JObject Function( + jni$_.JList list, jni$_.JObject continuation) insertRecords, - required _$jni.JObject Function( - _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) + required jni$_.JObject Function( + jni$_.JList list, jni$_.JObject continuation) updateRecords, - required _$jni.JObject Function( - _$jni.JObject kClass, - _$jni.JList<_$jni.JString> list, - _$jni.JList<_$jni.JString> list1, - _$jni.JObject $c) + required jni$_.JObject Function( + jni$_.JObject kClass, + jni$_.JList list, + jni$_.JList list1, + jni$_.JObject continuation) deleteRecords, - required _$jni.JObject Function(_$jni.JObject kClass, - TimeRangeFilter timeRangeFilter, _$jni.JObject $c) + required jni$_.JObject Function(jni$_.JObject kClass, + TimeRangeFilter timeRangeFilter, jni$_.JObject continuation) deleteRecords$1, - required _$jni.JObject Function( - _$jni.JObject kClass, _$jni.JString string, _$jni.JObject $c) + required jni$_.JObject Function(jni$_.JObject kClass, jni$_.JString string, + jni$_.JObject continuation) readRecord, - required _$jni.JObject Function( - ReadRecordsRequest<_$jni.JObject> readRecordsRequest, - _$jni.JObject $c) + required jni$_.JObject Function( + ReadRecordsRequest readRecordsRequest, + jni$_.JObject continuation) readRecords, - required _$jni.JObject Function( - AggregateRequest aggregateRequest, _$jni.JObject $c) + required jni$_.JObject Function( + AggregateRequest aggregateRequest, jni$_.JObject continuation) aggregate, - required _$jni.JObject Function( + required jni$_.JObject Function( AggregateGroupByDurationRequest aggregateGroupByDurationRequest, - _$jni.JObject $c) + jni$_.JObject continuation) aggregateGroupByDuration, - required _$jni.JObject Function( + required jni$_.JObject Function( AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, - _$jni.JObject $c) + jni$_.JObject continuation) aggregateGroupByPeriod, - required _$jni.JObject Function( - ChangesTokenRequest changesTokenRequest, _$jni.JObject $c) + required jni$_.JObject Function( + ChangesTokenRequest changesTokenRequest, jni$_.JObject continuation) getChangesToken, - required _$jni.JObject Function( - _$jni.JString string, _$jni.JObject iterable, _$jni.JObject $c) + required jni$_.JObject Function(jni$_.JString string, + jni$_.JObject iterable, jni$_.JObject continuation) registerForDataNotifications, - required _$jni.JObject Function(_$jni.JString string, _$jni.JObject $c) + required jni$_.JObject Function( + jni$_.JString string, jni$_.JObject continuation) unregisterFromDataNotifications, - required _$jni.JObject Function(_$jni.JString string, _$jni.JObject $c) + required jni$_.JObject Function( + jni$_.JString string, jni$_.JObject continuation) getChanges, - required bool Function(Context context, _$jni.JList<_$jni.JString> list) + required bool Function(Context context, jni$_.JList list) isAvailable, required HealthConnectClient Function( - Context context, _$jni.JList<_$jni.JString> list) + Context context, jni$_.JList list) getOrCreate, required bool Function(Context context) isAvailable$1, required HealthConnectClient Function(Context context) getOrCreate$1, }) = _$HealthConnectClient; PermissionController getPermissionController(); - _$jni.JObject insertRecords( - _$jni.JList<_$jni.JObject> list, _$jni.JObject $c); - _$jni.JObject updateRecords( - _$jni.JList<_$jni.JObject> list, _$jni.JObject $c); - _$jni.JObject deleteRecords( - _$jni.JObject kClass, - _$jni.JList<_$jni.JString> list, - _$jni.JList<_$jni.JString> list1, - _$jni.JObject $c); - _$jni.JObject deleteRecords$1( - _$jni.JObject kClass, TimeRangeFilter timeRangeFilter, _$jni.JObject $c); - _$jni.JObject readRecord( - _$jni.JObject kClass, _$jni.JString string, _$jni.JObject $c); - _$jni.JObject readRecords( - ReadRecordsRequest<_$jni.JObject> readRecordsRequest, _$jni.JObject $c); - _$jni.JObject aggregate(AggregateRequest aggregateRequest, _$jni.JObject $c); - _$jni.JObject aggregateGroupByDuration( + jni$_.JObject insertRecords( + jni$_.JList list, jni$_.JObject continuation); + jni$_.JObject updateRecords( + jni$_.JList list, jni$_.JObject continuation); + jni$_.JObject deleteRecords( + jni$_.JObject kClass, + jni$_.JList list, + jni$_.JList list1, + jni$_.JObject continuation); + jni$_.JObject deleteRecords$1(jni$_.JObject kClass, + TimeRangeFilter timeRangeFilter, jni$_.JObject continuation); + jni$_.JObject readRecord( + jni$_.JObject kClass, jni$_.JString string, jni$_.JObject continuation); + jni$_.JObject readRecords( + ReadRecordsRequest readRecordsRequest, + jni$_.JObject continuation); + jni$_.JObject aggregate( + AggregateRequest aggregateRequest, jni$_.JObject continuation); + jni$_.JObject aggregateGroupByDuration( AggregateGroupByDurationRequest aggregateGroupByDurationRequest, - _$jni.JObject $c); - _$jni.JObject aggregateGroupByPeriod( + jni$_.JObject continuation); + jni$_.JObject aggregateGroupByPeriod( AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, - _$jni.JObject $c); - _$jni.JObject getChangesToken( - ChangesTokenRequest changesTokenRequest, _$jni.JObject $c); - _$jni.JObject registerForDataNotifications( - _$jni.JString string, _$jni.JObject iterable, _$jni.JObject $c); - _$jni.JObject unregisterFromDataNotifications( - _$jni.JString string, _$jni.JObject $c); - _$jni.JObject getChanges(_$jni.JString string, _$jni.JObject $c); - bool isAvailable(Context context, _$jni.JList<_$jni.JString> list); + jni$_.JObject continuation); + jni$_.JObject getChangesToken( + ChangesTokenRequest changesTokenRequest, jni$_.JObject continuation); + jni$_.JObject registerForDataNotifications( + jni$_.JString string, jni$_.JObject iterable, jni$_.JObject continuation); + jni$_.JObject unregisterFromDataNotifications( + jni$_.JString string, jni$_.JObject continuation); + jni$_.JObject getChanges(jni$_.JString string, jni$_.JObject continuation); + bool isAvailable(Context context, jni$_.JList list); HealthConnectClient getOrCreate( - Context context, _$jni.JList<_$jni.JString> list); + Context context, jni$_.JList list); bool isAvailable$1(Context context); HealthConnectClient getOrCreate$1(Context context); } @@ -1386,53 +1540,55 @@ abstract base mixin class $HealthConnectClient { final class _$HealthConnectClient with $HealthConnectClient { _$HealthConnectClient({ required PermissionController Function() getPermissionController, - required _$jni.JObject Function( - _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) + required jni$_.JObject Function( + jni$_.JList list, jni$_.JObject continuation) insertRecords, - required _$jni.JObject Function( - _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) + required jni$_.JObject Function( + jni$_.JList list, jni$_.JObject continuation) updateRecords, - required _$jni.JObject Function( - _$jni.JObject kClass, - _$jni.JList<_$jni.JString> list, - _$jni.JList<_$jni.JString> list1, - _$jni.JObject $c) + required jni$_.JObject Function( + jni$_.JObject kClass, + jni$_.JList list, + jni$_.JList list1, + jni$_.JObject continuation) deleteRecords, - required _$jni.JObject Function(_$jni.JObject kClass, - TimeRangeFilter timeRangeFilter, _$jni.JObject $c) + required jni$_.JObject Function(jni$_.JObject kClass, + TimeRangeFilter timeRangeFilter, jni$_.JObject continuation) deleteRecords$1, - required _$jni.JObject Function( - _$jni.JObject kClass, _$jni.JString string, _$jni.JObject $c) + required jni$_.JObject Function(jni$_.JObject kClass, jni$_.JString string, + jni$_.JObject continuation) readRecord, - required _$jni.JObject Function( - ReadRecordsRequest<_$jni.JObject> readRecordsRequest, - _$jni.JObject $c) + required jni$_.JObject Function( + ReadRecordsRequest readRecordsRequest, + jni$_.JObject continuation) readRecords, - required _$jni.JObject Function( - AggregateRequest aggregateRequest, _$jni.JObject $c) + required jni$_.JObject Function( + AggregateRequest aggregateRequest, jni$_.JObject continuation) aggregate, - required _$jni.JObject Function( + required jni$_.JObject Function( AggregateGroupByDurationRequest aggregateGroupByDurationRequest, - _$jni.JObject $c) + jni$_.JObject continuation) aggregateGroupByDuration, - required _$jni.JObject Function( + required jni$_.JObject Function( AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, - _$jni.JObject $c) + jni$_.JObject continuation) aggregateGroupByPeriod, - required _$jni.JObject Function( - ChangesTokenRequest changesTokenRequest, _$jni.JObject $c) + required jni$_.JObject Function( + ChangesTokenRequest changesTokenRequest, jni$_.JObject continuation) getChangesToken, - required _$jni.JObject Function( - _$jni.JString string, _$jni.JObject iterable, _$jni.JObject $c) + required jni$_.JObject Function(jni$_.JString string, + jni$_.JObject iterable, jni$_.JObject continuation) registerForDataNotifications, - required _$jni.JObject Function(_$jni.JString string, _$jni.JObject $c) + required jni$_.JObject Function( + jni$_.JString string, jni$_.JObject continuation) unregisterFromDataNotifications, - required _$jni.JObject Function(_$jni.JString string, _$jni.JObject $c) + required jni$_.JObject Function( + jni$_.JString string, jni$_.JObject continuation) getChanges, - required bool Function(Context context, _$jni.JList<_$jni.JString> list) + required bool Function(Context context, jni$_.JList list) isAvailable, required HealthConnectClient Function( - Context context, _$jni.JList<_$jni.JString> list) + Context context, jni$_.JList list) getOrCreate, required bool Function(Context context) isAvailable$1, required HealthConnectClient Function(Context context) getOrCreate$1, @@ -1456,44 +1612,47 @@ final class _$HealthConnectClient with $HealthConnectClient { _getOrCreate$1 = getOrCreate$1; final PermissionController Function() _getPermissionController; - final _$jni.JObject Function( - _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) _insertRecords; - final _$jni.JObject Function( - _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) _updateRecords; - final _$jni.JObject Function( - _$jni.JObject kClass, - _$jni.JList<_$jni.JString> list, - _$jni.JList<_$jni.JString> list1, - _$jni.JObject $c) _deleteRecords; - final _$jni.JObject Function(_$jni.JObject kClass, - TimeRangeFilter timeRangeFilter, _$jni.JObject $c) _deleteRecords$1; - final _$jni.JObject Function( - _$jni.JObject kClass, _$jni.JString string, _$jni.JObject $c) _readRecord; - final _$jni.JObject Function( - ReadRecordsRequest<_$jni.JObject> readRecordsRequest, - _$jni.JObject $c) _readRecords; - final _$jni.JObject Function( - AggregateRequest aggregateRequest, _$jni.JObject $c) _aggregate; - final _$jni.JObject Function( + final jni$_.JObject Function( + jni$_.JList list, jni$_.JObject continuation) + _insertRecords; + final jni$_.JObject Function( + jni$_.JList list, jni$_.JObject continuation) + _updateRecords; + final jni$_.JObject Function( + jni$_.JObject kClass, + jni$_.JList list, + jni$_.JList list1, + jni$_.JObject continuation) _deleteRecords; + final jni$_.JObject Function( + jni$_.JObject kClass, + TimeRangeFilter timeRangeFilter, + jni$_.JObject continuation) _deleteRecords$1; + final jni$_.JObject Function(jni$_.JObject kClass, jni$_.JString string, + jni$_.JObject continuation) _readRecord; + final jni$_.JObject Function( + ReadRecordsRequest readRecordsRequest, + jni$_.JObject continuation) _readRecords; + final jni$_.JObject Function( + AggregateRequest aggregateRequest, jni$_.JObject continuation) _aggregate; + final jni$_.JObject Function( AggregateGroupByDurationRequest aggregateGroupByDurationRequest, - _$jni.JObject $c) _aggregateGroupByDuration; - final _$jni.JObject Function( + jni$_.JObject continuation) _aggregateGroupByDuration; + final jni$_.JObject Function( AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, - _$jni.JObject $c) _aggregateGroupByPeriod; - final _$jni.JObject Function( - ChangesTokenRequest changesTokenRequest, _$jni.JObject $c) + jni$_.JObject continuation) _aggregateGroupByPeriod; + final jni$_.JObject Function( + ChangesTokenRequest changesTokenRequest, jni$_.JObject continuation) _getChangesToken; - final _$jni.JObject Function( - _$jni.JString string, _$jni.JObject iterable, _$jni.JObject $c) - _registerForDataNotifications; - final _$jni.JObject Function(_$jni.JString string, _$jni.JObject $c) + final jni$_.JObject Function(jni$_.JString string, jni$_.JObject iterable, + jni$_.JObject continuation) _registerForDataNotifications; + final jni$_.JObject Function(jni$_.JString string, jni$_.JObject continuation) _unregisterFromDataNotifications; - final _$jni.JObject Function(_$jni.JString string, _$jni.JObject $c) + final jni$_.JObject Function(jni$_.JString string, jni$_.JObject continuation) _getChanges; - final bool Function(Context context, _$jni.JList<_$jni.JString> list) + final bool Function(Context context, jni$_.JList list) _isAvailable; final HealthConnectClient Function( - Context context, _$jni.JList<_$jni.JString> list) _getOrCreate; + Context context, jni$_.JList list) _getOrCreate; final bool Function(Context context) _isAvailable$1; final HealthConnectClient Function(Context context) _getOrCreate$1; @@ -1501,80 +1660,83 @@ final class _$HealthConnectClient with $HealthConnectClient { return _getPermissionController(); } - _$jni.JObject insertRecords( - _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) { - return _insertRecords(list, $c); + jni$_.JObject insertRecords( + jni$_.JList list, jni$_.JObject continuation) { + return _insertRecords(list, continuation); } - _$jni.JObject updateRecords( - _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) { - return _updateRecords(list, $c); + jni$_.JObject updateRecords( + jni$_.JList list, jni$_.JObject continuation) { + return _updateRecords(list, continuation); } - _$jni.JObject deleteRecords( - _$jni.JObject kClass, - _$jni.JList<_$jni.JString> list, - _$jni.JList<_$jni.JString> list1, - _$jni.JObject $c) { - return _deleteRecords(kClass, list, list1, $c); + jni$_.JObject deleteRecords( + jni$_.JObject kClass, + jni$_.JList list, + jni$_.JList list1, + jni$_.JObject continuation) { + return _deleteRecords(kClass, list, list1, continuation); } - _$jni.JObject deleteRecords$1( - _$jni.JObject kClass, TimeRangeFilter timeRangeFilter, _$jni.JObject $c) { - return _deleteRecords$1(kClass, timeRangeFilter, $c); + jni$_.JObject deleteRecords$1(jni$_.JObject kClass, + TimeRangeFilter timeRangeFilter, jni$_.JObject continuation) { + return _deleteRecords$1(kClass, timeRangeFilter, continuation); } - _$jni.JObject readRecord( - _$jni.JObject kClass, _$jni.JString string, _$jni.JObject $c) { - return _readRecord(kClass, string, $c); + jni$_.JObject readRecord( + jni$_.JObject kClass, jni$_.JString string, jni$_.JObject continuation) { + return _readRecord(kClass, string, continuation); } - _$jni.JObject readRecords( - ReadRecordsRequest<_$jni.JObject> readRecordsRequest, _$jni.JObject $c) { - return _readRecords(readRecordsRequest, $c); + jni$_.JObject readRecords( + ReadRecordsRequest readRecordsRequest, + jni$_.JObject continuation) { + return _readRecords(readRecordsRequest, continuation); } - _$jni.JObject aggregate(AggregateRequest aggregateRequest, _$jni.JObject $c) { - return _aggregate(aggregateRequest, $c); + jni$_.JObject aggregate( + AggregateRequest aggregateRequest, jni$_.JObject continuation) { + return _aggregate(aggregateRequest, continuation); } - _$jni.JObject aggregateGroupByDuration( + jni$_.JObject aggregateGroupByDuration( AggregateGroupByDurationRequest aggregateGroupByDurationRequest, - _$jni.JObject $c) { - return _aggregateGroupByDuration(aggregateGroupByDurationRequest, $c); + jni$_.JObject continuation) { + return _aggregateGroupByDuration( + aggregateGroupByDurationRequest, continuation); } - _$jni.JObject aggregateGroupByPeriod( + jni$_.JObject aggregateGroupByPeriod( AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, - _$jni.JObject $c) { - return _aggregateGroupByPeriod(aggregateGroupByPeriodRequest, $c); + jni$_.JObject continuation) { + return _aggregateGroupByPeriod(aggregateGroupByPeriodRequest, continuation); } - _$jni.JObject getChangesToken( - ChangesTokenRequest changesTokenRequest, _$jni.JObject $c) { - return _getChangesToken(changesTokenRequest, $c); + jni$_.JObject getChangesToken( + ChangesTokenRequest changesTokenRequest, jni$_.JObject continuation) { + return _getChangesToken(changesTokenRequest, continuation); } - _$jni.JObject registerForDataNotifications( - _$jni.JString string, _$jni.JObject iterable, _$jni.JObject $c) { - return _registerForDataNotifications(string, iterable, $c); + jni$_.JObject registerForDataNotifications(jni$_.JString string, + jni$_.JObject iterable, jni$_.JObject continuation) { + return _registerForDataNotifications(string, iterable, continuation); } - _$jni.JObject unregisterFromDataNotifications( - _$jni.JString string, _$jni.JObject $c) { - return _unregisterFromDataNotifications(string, $c); + jni$_.JObject unregisterFromDataNotifications( + jni$_.JString string, jni$_.JObject continuation) { + return _unregisterFromDataNotifications(string, continuation); } - _$jni.JObject getChanges(_$jni.JString string, _$jni.JObject $c) { - return _getChanges(string, $c); + jni$_.JObject getChanges(jni$_.JString string, jni$_.JObject continuation) { + return _getChanges(string, continuation); } - bool isAvailable(Context context, _$jni.JList<_$jni.JString> list) { + bool isAvailable(Context context, jni$_.JList list) { return _isAvailable(context, list); } HealthConnectClient getOrCreate( - Context context, _$jni.JList<_$jni.JString> list) { + Context context, jni$_.JList list) { return _getOrCreate(context, list); } @@ -1587,33 +1749,79 @@ final class _$HealthConnectClient with $HealthConnectClient { } } -final class $HealthConnectClient$Type - extends _$jni.JObjType { - @_$jni.internal - const $HealthConnectClient$Type(); +final class $HealthConnectClient$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $HealthConnectClient$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/HealthConnectClient;'; - @_$jni.internal - @_$core.override - HealthConnectClient fromReference(_$jni.JReference reference) => - HealthConnectClient.fromReference(reference); + @jni$_.internal + @core$_.override + HealthConnectClient? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : HealthConnectClient.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($HealthConnectClient$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($HealthConnectClient$NullableType) && + other is $HealthConnectClient$NullableType; + } +} + +final class $HealthConnectClient$Type + extends jni$_.JObjType { + @jni$_.internal + const $HealthConnectClient$Type(); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/HealthConnectClient;'; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + HealthConnectClient fromReference(jni$_.JReference reference) => + HealthConnectClient.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $HealthConnectClient$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override int get hashCode => ($HealthConnectClient$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($HealthConnectClient$Type) && other is $HealthConnectClient$Type; @@ -1621,22 +1829,23 @@ final class $HealthConnectClient$Type } /// from: `androidx.health.connect.client.PermissionController$Companion` -class PermissionController_Companion extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; - - @_$jni.internal - PermissionController_Companion.fromReference( - _$jni.JReference reference, +class PermissionController$Companion extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; + + @jni$_.internal + PermissionController$Companion.fromReference( + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/PermissionController$Companion'); /// The type which includes information such as the signature of this class. - static const type = $PermissionController_Companion$Type(); + static const nullableType = $PermissionController$Companion$NullableType(); + static const type = $PermissionController$Companion$Type(); static final _id_createRequestPermissionResultContract = _class.instanceMethodId( r'createRequestPermissionResultContract', @@ -1644,27 +1853,28 @@ class PermissionController_Companion extends _$jni.JObject { ); static final _createRequestPermissionResultContract = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject createRequestPermissionResultContract( - _$jni.JString string, + jni$_.JObject createRequestPermissionResultContract( + jni$_.JString string, ) { + final _$string = string.reference; return _createRequestPermissionResultContract( reference.pointer, - _id_createRequestPermissionResultContract as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JObjectType()); + _id_createRequestPermissionResultContract as jni$_.JMethodIDPtr, + _$string.pointer) + .object(const jni$_.JObjectType()); } static final _id_createRequestPermissionResultContract$1 = @@ -1674,76 +1884,124 @@ class PermissionController_Companion extends _$jni.JObject { ); static final _createRequestPermissionResultContract$1 = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject createRequestPermissionResultContract$1() { + jni$_.JObject createRequestPermissionResultContract$1() { return _createRequestPermissionResultContract$1(reference.pointer, - _id_createRequestPermissionResultContract$1 as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + _id_createRequestPermissionResultContract$1 as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectType()); } } -final class $PermissionController_Companion$Type - extends _$jni.JObjType { - @_$jni.internal - const $PermissionController_Companion$Type(); +final class $PermissionController$Companion$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $PermissionController$Companion$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/PermissionController$Companion;'; - @_$jni.internal - @_$core.override - PermissionController_Companion fromReference(_$jni.JReference reference) => - PermissionController_Companion.fromReference(reference); + @jni$_.internal + @core$_.override + PermissionController$Companion? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : PermissionController$Companion.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($PermissionController$Companion$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == + ($PermissionController$Companion$NullableType) && + other is $PermissionController$Companion$NullableType; + } +} - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); +final class $PermissionController$Companion$Type + extends jni$_.JObjType { + @jni$_.internal + const $PermissionController$Companion$Type(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/PermissionController$Companion;'; + + @jni$_.internal + @core$_.override + PermissionController$Companion fromReference(jni$_.JReference reference) => + PermissionController$Companion.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $PermissionController$Companion$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override - int get hashCode => ($PermissionController_Companion$Type).hashCode; + @core$_.override + int get hashCode => ($PermissionController$Companion$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($PermissionController_Companion$Type) && - other is $PermissionController_Companion$Type; + return other.runtimeType == ($PermissionController$Companion$Type) && + other is $PermissionController$Companion$Type; } } /// from: `androidx.health.connect.client.PermissionController` -class PermissionController extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; +class PermissionController extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; - @_$jni.internal + @jni$_.internal PermissionController.fromReference( - _$jni.JReference reference, + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/PermissionController'); /// The type which includes information such as the signature of this class. + static const nullableType = $PermissionController$NullableType(); static const type = $PermissionController$Type(); static final _id_Companion = _class.staticFieldId( r'Companion', @@ -1752,53 +2010,59 @@ class PermissionController extends _$jni.JObject { /// from: `static public final androidx.health.connect.client.PermissionController$Companion Companion` /// The returned object must be released after use, by calling the [release] method. - static PermissionController_Companion get Companion => - _id_Companion.get(_class, const $PermissionController_Companion$Type()); + static PermissionController$Companion get Companion => + _id_Companion.get(_class, const $PermissionController$Companion$Type()); static final _id_getGrantedPermissions = _class.instanceMethodId( r'getGrantedPermissions', r'(Ljava/util/Set;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _getGrantedPermissions = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _getGrantedPermissions = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract java.lang.Object getGrantedPermissions(java.util.Set set, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JSet<_$jni.JObject>> getGrantedPermissions( - _$jni.JSet<_$jni.JObject> set, + core$_.Future> getGrantedPermissions( + jni$_.JSet set, ) async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + final _$set = set.reference; _getGrantedPermissions( reference.pointer, - _id_getGrantedPermissions as _$jni.JMethodIDPtr, - set.reference.pointer, - $c.reference.pointer) - .object(const _$jni.JObjectType()); + _id_getGrantedPermissions as jni$_.JMethodIDPtr, + _$set.pointer, + _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = - const _$jni.JSetType(_$jni.JObjectType()).jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JSetType(jni$_.JObjectType()) + .jClass + .reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JSetType(_$jni.JObjectType()).fromReference($o); + $k.release(); + return const jni$_.JSetType(jni$_.JObjectType()) + .fromReference($o); } static final _id_revokeAllPermissions = _class.instanceMethodId( @@ -1806,35 +2070,39 @@ class PermissionController extends _$jni.JObject { r'(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _revokeAllPermissions = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _revokeAllPermissions = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract java.lang.Object revokeAllPermissions(kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - _$core.Future<_$jni.JObject> revokeAllPermissions() async { - final $p = _$jni.ReceivePort(); - final $c = _$jni.JObject.fromReference( - _$jni.ProtectedJniExtensions.newPortContinuation($p)); + core$_.Future revokeAllPermissions() async { + final $p = jni$_.ReceivePort(); + final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); + _revokeAllPermissions( reference.pointer, - _id_revokeAllPermissions as _$jni.JMethodIDPtr, - $c.reference.pointer) - .object(const _$jni.JObjectType()); + _id_revokeAllPermissions as jni$_.JMethodIDPtr, + _$continuation.pointer) + .object(const jni$_.JObjectType()) + .release(); + _$continuation.release(); final $o = - _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const _$jni.JObjectType().jClass.reference.pointer; - if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $k = const jni$_.JObjectType().jClass.reference; + if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { + $k.release(); throw 'Failed'; } - return const _$jni.JObjectType().fromReference($o); + $k.release(); + return const jni$_.JObjectType().fromReference($o); } static final _id_createRequestPermissionResultContract = @@ -1844,27 +2112,28 @@ class PermissionController extends _$jni.JObject { ); static final _createRequestPermissionResultContract = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JObject createRequestPermissionResultContract( - _$jni.JString string, + static jni$_.JObject createRequestPermissionResultContract( + jni$_.JString string, ) { + final _$string = string.reference; return _createRequestPermissionResultContract( _class.reference.pointer, - _id_createRequestPermissionResultContract as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JObjectType()); + _id_createRequestPermissionResultContract as jni$_.JMethodIDPtr, + _$string.pointer) + .object(const jni$_.JObjectType()); } static final _id_createRequestPermissionResultContract$1 = @@ -1874,36 +2143,36 @@ class PermissionController extends _$jni.JObject { ); static final _createRequestPermissionResultContract$1 = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `static public androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract()` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JObject createRequestPermissionResultContract$1() { + static jni$_.JObject createRequestPermissionResultContract$1() { return _createRequestPermissionResultContract$1(_class.reference.pointer, - _id_createRequestPermissionResultContract$1 as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + _id_createRequestPermissionResultContract$1 as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectType()); } /// Maps a specific port to the implemented interface. - static final _$core.Map _$impls = {}; - static _$jni.JObjectPtr _$invoke( + static final core$_.Map _$impls = {}; + static jni$_.JObjectPtr _$invoke( int port, - _$jni.JObjectPtr descriptor, - _$jni.JObjectPtr args, + jni$_.JObjectPtr descriptor, + jni$_.JObjectPtr args, ) { return _$invokeMethod( port, - _$jni.MethodInvocation.fromAddresses( + jni$_.MethodInvocation.fromAddresses( 0, descriptor.address, args.address, @@ -1911,15 +2180,15 @@ class PermissionController extends _$jni.JObject { ); } - static final _$jni.Pointer< - _$jni.NativeFunction< - _$jni.JObjectPtr Function( - _$jni.Int64, _$jni.JObjectPtr, _$jni.JObjectPtr)>> - _$invokePointer = _$jni.Pointer.fromFunction(_$invoke); + static final jni$_.Pointer< + jni$_.NativeFunction< + jni$_.JObjectPtr Function( + jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)>> + _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); - static _$jni.Pointer<_$jni.Void> _$invokeMethod( + static jni$_.Pointer _$invokeMethod( int $p, - _$jni.MethodInvocation $i, + jni$_.MethodInvocation $i, ) { try { final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); @@ -1927,63 +2196,68 @@ class PermissionController extends _$jni.JObject { if ($d == r'getGrantedPermissions(Ljava/util/Set;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.getGrantedPermissions( - $a[0].as(const _$jni.JSetType(_$jni.JObjectType()), + $a![0]!.as( + const jni$_.JSetType(jni$_.JObjectNullableType()), releaseOriginal: true), - $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'revokeAllPermissions(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.revokeAllPermissions( - $a[0].as(const _$jni.JObjectType(), releaseOriginal: true), + $a![0]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'createRequestPermissionResultContract(Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract;') { final $r = _$impls[$p]!.createRequestPermissionResultContract( - $a[0].as(const _$jni.JStringType(), releaseOriginal: true), + $a![0]!.as(const jni$_.JStringType(), releaseOriginal: true), ); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } if ($d == r'createRequestPermissionResultContract()Landroidx/activity/result/contract/ActivityResultContract;') { final $r = _$impls[$p]!.createRequestPermissionResultContract$1(); - return ($r as _$jni.JObject) - .as(const _$jni.JObjectType()) - .reference - .toPointer(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.JObjectType()) + .reference + .toPointer() ?? + jni$_.nullptr; } } catch (e) { - return _$jni.ProtectedJniExtensions.newDartException(e); + return jni$_.ProtectedJniExtensions.newDartException(e); } - return _$jni.nullptr; + return jni$_.nullptr; } static void implementIn( - _$jni.JImplementer implementer, + jni$_.JImplementer implementer, $PermissionController $impl, ) { - late final _$jni.RawReceivePort $p; - $p = _$jni.RawReceivePort(($m) { + late final jni$_.RawReceivePort $p; + $p = jni$_.RawReceivePort(($m) { if ($m == null) { _$impls.remove($p.sendPort.nativePort); $p.close(); return; } - final $i = _$jni.MethodInvocation.fromMessage($m); + final $i = jni$_.MethodInvocation.fromMessage($m); final $r = _$invokeMethod($p.sendPort.nativePort, $i); - _$jni.ProtectedJniExtensions.returnResult($i.result, $r); + jni$_.ProtectedJniExtensions.returnResult($i.result, $r); }); implementer.add( r'androidx.health.connect.client.PermissionController', @@ -1998,7 +2272,7 @@ class PermissionController extends _$jni.JObject { factory PermissionController.implement( $PermissionController $impl, ) { - final $i = _$jni.JImplementer(); + final $i = jni$_.JImplementer(); implementIn($i, $impl); return PermissionController.fromReference( $i.implementReference(), @@ -2008,31 +2282,33 @@ class PermissionController extends _$jni.JObject { abstract base mixin class $PermissionController { factory $PermissionController({ - required _$jni.JObject Function( - _$jni.JSet<_$jni.JObject> set, _$jni.JObject $c) + required jni$_.JObject Function( + jni$_.JSet set, jni$_.JObject continuation) getGrantedPermissions, - required _$jni.JObject Function(_$jni.JObject $c) revokeAllPermissions, - required _$jni.JObject Function(_$jni.JString string) + required jni$_.JObject Function(jni$_.JObject continuation) + revokeAllPermissions, + required jni$_.JObject Function(jni$_.JString string) createRequestPermissionResultContract, - required _$jni.JObject Function() createRequestPermissionResultContract$1, + required jni$_.JObject Function() createRequestPermissionResultContract$1, }) = _$PermissionController; - _$jni.JObject getGrantedPermissions( - _$jni.JSet<_$jni.JObject> set, _$jni.JObject $c); - _$jni.JObject revokeAllPermissions(_$jni.JObject $c); - _$jni.JObject createRequestPermissionResultContract(_$jni.JString string); - _$jni.JObject createRequestPermissionResultContract$1(); + jni$_.JObject getGrantedPermissions( + jni$_.JSet set, jni$_.JObject continuation); + jni$_.JObject revokeAllPermissions(jni$_.JObject continuation); + jni$_.JObject createRequestPermissionResultContract(jni$_.JString string); + jni$_.JObject createRequestPermissionResultContract$1(); } final class _$PermissionController with $PermissionController { _$PermissionController({ - required _$jni.JObject Function( - _$jni.JSet<_$jni.JObject> set, _$jni.JObject $c) + required jni$_.JObject Function( + jni$_.JSet set, jni$_.JObject continuation) getGrantedPermissions, - required _$jni.JObject Function(_$jni.JObject $c) revokeAllPermissions, - required _$jni.JObject Function(_$jni.JString string) + required jni$_.JObject Function(jni$_.JObject continuation) + revokeAllPermissions, + required jni$_.JObject Function(jni$_.JString string) createRequestPermissionResultContract, - required _$jni.JObject Function() createRequestPermissionResultContract$1, + required jni$_.JObject Function() createRequestPermissionResultContract$1, }) : _getGrantedPermissions = getGrantedPermissions, _revokeAllPermissions = revokeAllPermissions, _createRequestPermissionResultContract = @@ -2040,58 +2316,106 @@ final class _$PermissionController with $PermissionController { _createRequestPermissionResultContract$1 = createRequestPermissionResultContract$1; - final _$jni.JObject Function(_$jni.JSet<_$jni.JObject> set, _$jni.JObject $c) + final jni$_.JObject Function( + jni$_.JSet set, jni$_.JObject continuation) _getGrantedPermissions; - final _$jni.JObject Function(_$jni.JObject $c) _revokeAllPermissions; - final _$jni.JObject Function(_$jni.JString string) + final jni$_.JObject Function(jni$_.JObject continuation) + _revokeAllPermissions; + final jni$_.JObject Function(jni$_.JString string) _createRequestPermissionResultContract; - final _$jni.JObject Function() _createRequestPermissionResultContract$1; + final jni$_.JObject Function() _createRequestPermissionResultContract$1; - _$jni.JObject getGrantedPermissions( - _$jni.JSet<_$jni.JObject> set, _$jni.JObject $c) { - return _getGrantedPermissions(set, $c); + jni$_.JObject getGrantedPermissions( + jni$_.JSet set, jni$_.JObject continuation) { + return _getGrantedPermissions(set, continuation); } - _$jni.JObject revokeAllPermissions(_$jni.JObject $c) { - return _revokeAllPermissions($c); + jni$_.JObject revokeAllPermissions(jni$_.JObject continuation) { + return _revokeAllPermissions(continuation); } - _$jni.JObject createRequestPermissionResultContract(_$jni.JString string) { + jni$_.JObject createRequestPermissionResultContract(jni$_.JString string) { return _createRequestPermissionResultContract(string); } - _$jni.JObject createRequestPermissionResultContract$1() { + jni$_.JObject createRequestPermissionResultContract$1() { return _createRequestPermissionResultContract$1(); } } -final class $PermissionController$Type - extends _$jni.JObjType { - @_$jni.internal - const $PermissionController$Type(); +final class $PermissionController$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $PermissionController$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/PermissionController;'; - @_$jni.internal - @_$core.override - PermissionController fromReference(_$jni.JReference reference) => - PermissionController.fromReference(reference); + @jni$_.internal + @core$_.override + PermissionController? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : PermissionController.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($PermissionController$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($PermissionController$NullableType) && + other is $PermissionController$NullableType; + } +} + +final class $PermissionController$Type + extends jni$_.JObjType { + @jni$_.internal + const $PermissionController$Type(); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/PermissionController;'; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + PermissionController fromReference(jni$_.JReference reference) => + PermissionController.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $PermissionController$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override int get hashCode => ($PermissionController$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($PermissionController$Type) && other is $PermissionController$Type; @@ -2099,99 +2423,147 @@ final class $PermissionController$Type } /// from: `androidx.health.connect.client.records.StepsRecord$Companion` -class StepsRecord_Companion extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; - - @_$jni.internal - StepsRecord_Companion.fromReference( - _$jni.JReference reference, +class StepsRecord$Companion extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; + + @jni$_.internal + StepsRecord$Companion.fromReference( + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/records/StepsRecord$Companion'); /// The type which includes information such as the signature of this class. - static const type = $StepsRecord_Companion$Type(); + static const nullableType = $StepsRecord$Companion$NullableType(); + static const type = $StepsRecord$Companion$Type(); static final _id_new$ = _class.constructorId( r'(Lkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_NewObject') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `synthetic public void (kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. - factory StepsRecord_Companion( - _$jni.JObject defaultConstructorMarker, + factory StepsRecord$Companion( + jni$_.JObject? defaultConstructorMarker, ) { - return StepsRecord_Companion.fromReference(_new$( - _class.reference.pointer, - _id_new$ as _$jni.JMethodIDPtr, - defaultConstructorMarker.reference.pointer) + final _$defaultConstructorMarker = + defaultConstructorMarker?.reference ?? jni$_.jNullReference; + return StepsRecord$Companion.fromReference(_new$(_class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, _$defaultConstructorMarker.pointer) .reference); } } -final class $StepsRecord_Companion$Type - extends _$jni.JObjType { - @_$jni.internal - const $StepsRecord_Companion$Type(); +final class $StepsRecord$Companion$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $StepsRecord$Companion$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/records/StepsRecord$Companion;'; - @_$jni.internal - @_$core.override - StepsRecord_Companion fromReference(_$jni.JReference reference) => - StepsRecord_Companion.fromReference(reference); + @jni$_.internal + @core$_.override + StepsRecord$Companion? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : StepsRecord$Companion.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($StepsRecord$Companion$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($StepsRecord$Companion$NullableType) && + other is $StepsRecord$Companion$NullableType; + } +} - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); +final class $StepsRecord$Companion$Type + extends jni$_.JObjType { + @jni$_.internal + const $StepsRecord$Companion$Type(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/records/StepsRecord$Companion;'; + + @jni$_.internal + @core$_.override + StepsRecord$Companion fromReference(jni$_.JReference reference) => + StepsRecord$Companion.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $StepsRecord$Companion$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override - int get hashCode => ($StepsRecord_Companion$Type).hashCode; + @core$_.override + int get hashCode => ($StepsRecord$Companion$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($StepsRecord_Companion$Type) && - other is $StepsRecord_Companion$Type; + return other.runtimeType == ($StepsRecord$Companion$Type) && + other is $StepsRecord$Companion$Type; } } /// from: `androidx.health.connect.client.records.StepsRecord` -class StepsRecord extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; +class StepsRecord extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; - @_$jni.internal + @jni$_.internal StepsRecord.fromReference( - _$jni.JReference reference, + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/records/StepsRecord'); /// The type which includes information such as the signature of this class. + static const nullableType = $StepsRecord$NullableType(); static const type = $StepsRecord$Type(); static final _id_Companion = _class.staticFieldId( r'Companion', @@ -2200,8 +2572,8 @@ class StepsRecord extends _$jni.JObject { /// from: `static public final androidx.health.connect.client.records.StepsRecord$Companion Companion` /// The returned object must be released after use, by calling the [release] method. - static StepsRecord_Companion get Companion => - _id_Companion.get(_class, const $StepsRecord_Companion$Type()); + static StepsRecord$Companion get Companion => + _id_Companion.get(_class, const $StepsRecord$Companion$Type()); static final _id_COUNT_TOTAL = _class.staticFieldId( r'COUNT_TOTAL', @@ -2210,57 +2582,62 @@ class StepsRecord extends _$jni.JObject { /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric COUNT_TOTAL` /// The returned object must be released after use, by calling the [release] method. - static AggregateMetric<_$jni.JLong> get COUNT_TOTAL => _id_COUNT_TOTAL.get( - _class, const $AggregateMetric$Type(_$jni.JLongType())); + static AggregateMetric get COUNT_TOTAL => _id_COUNT_TOTAL.get( + _class, const $AggregateMetric$Type(jni$_.JLongType())); static final _id_new$ = _class.constructorId( r'(JLjava/time/Instant;Ljava/time/ZoneOffset;Ljava/time/Instant;Ljava/time/ZoneOffset;Landroidx/health/connect/client/records/metadata/Metadata;)V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Int64, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Int64, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, int, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void (long j, java.time.Instant instant, java.time.ZoneOffset zoneOffset, java.time.Instant instant1, java.time.ZoneOffset zoneOffset1, androidx.health.connect.client.records.metadata.Metadata metadata)` /// The returned object must be released after use, by calling the [release] method. factory StepsRecord( int j, Instant instant, - _$jni.JObject zoneOffset, + jni$_.JObject? zoneOffset, Instant instant1, - _$jni.JObject zoneOffset1, - _$jni.JObject metadata, - ) { + jni$_.JObject? zoneOffset1, + jni$_.JObject metadata, + ) { + final _$instant = instant.reference; + final _$zoneOffset = zoneOffset?.reference ?? jni$_.jNullReference; + final _$instant1 = instant1.reference; + final _$zoneOffset1 = zoneOffset1?.reference ?? jni$_.jNullReference; + final _$metadata = metadata.reference; return StepsRecord.fromReference(_new$( _class.reference.pointer, - _id_new$ as _$jni.JMethodIDPtr, + _id_new$ as jni$_.JMethodIDPtr, j, - instant.reference.pointer, - zoneOffset.reference.pointer, - instant1.reference.pointer, - zoneOffset1.reference.pointer, - metadata.reference.pointer) + _$instant.pointer, + _$zoneOffset.pointer, + _$instant1.pointer, + _$zoneOffset1.pointer, + _$metadata.pointer) .reference); } @@ -2268,58 +2645,65 @@ class StepsRecord extends _$jni.JObject { r'(JLjava/time/Instant;Ljava/time/ZoneOffset;Ljava/time/Instant;Ljava/time/ZoneOffset;Landroidx/health/connect/client/records/metadata/Metadata;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Int64, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Int64, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, int, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `synthetic public void (long j, java.time.Instant instant, java.time.ZoneOffset zoneOffset, java.time.Instant instant1, java.time.ZoneOffset zoneOffset1, androidx.health.connect.client.records.metadata.Metadata metadata, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. factory StepsRecord.new$1( int j, - Instant instant, - _$jni.JObject zoneOffset, - Instant instant1, - _$jni.JObject zoneOffset1, - _$jni.JObject metadata, + Instant? instant, + jni$_.JObject? zoneOffset, + Instant? instant1, + jni$_.JObject? zoneOffset1, + jni$_.JObject? metadata, int i, - _$jni.JObject defaultConstructorMarker, - ) { + jni$_.JObject? defaultConstructorMarker, + ) { + final _$instant = instant?.reference ?? jni$_.jNullReference; + final _$zoneOffset = zoneOffset?.reference ?? jni$_.jNullReference; + final _$instant1 = instant1?.reference ?? jni$_.jNullReference; + final _$zoneOffset1 = zoneOffset1?.reference ?? jni$_.jNullReference; + final _$metadata = metadata?.reference ?? jni$_.jNullReference; + final _$defaultConstructorMarker = + defaultConstructorMarker?.reference ?? jni$_.jNullReference; return StepsRecord.fromReference(_new$1( _class.reference.pointer, - _id_new$1 as _$jni.JMethodIDPtr, + _id_new$1 as jni$_.JMethodIDPtr, j, - instant.reference.pointer, - zoneOffset.reference.pointer, - instant1.reference.pointer, - zoneOffset1.reference.pointer, - metadata.reference.pointer, + _$instant.pointer, + _$zoneOffset.pointer, + _$instant1.pointer, + _$zoneOffset1.pointer, + _$metadata.pointer, i, - defaultConstructorMarker.reference.pointer) + _$defaultConstructorMarker.pointer) .reference); } @@ -2328,21 +2712,21 @@ class StepsRecord extends _$jni.JObject { r'()J', ); - static final _getCount = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getCount = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallLongMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final long getCount()` int getCount() { - return _getCount(reference.pointer, _id_getCount as _$jni.JMethodIDPtr) + return _getCount(reference.pointer, _id_getCount as jni$_.JMethodIDPtr) .long; } @@ -2351,24 +2735,24 @@ class StepsRecord extends _$jni.JObject { r'()Ljava/time/Instant;', ); - static final _getStartTime = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getStartTime = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.time.Instant getStartTime()` /// The returned object must be released after use, by calling the [release] method. Instant getStartTime() { return _getStartTime( - reference.pointer, _id_getStartTime as _$jni.JMethodIDPtr) - .object(const $Instant$Type()); + reference.pointer, _id_getStartTime as jni$_.JMethodIDPtr) + .object(const $Instant$Type()); } static final _id_getStartZoneOffset = _class.instanceMethodId( @@ -2376,24 +2760,24 @@ class StepsRecord extends _$jni.JObject { r'()Ljava/time/ZoneOffset;', ); - static final _getStartZoneOffset = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getStartZoneOffset = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.time.ZoneOffset getStartZoneOffset()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getStartZoneOffset() { + jni$_.JObject? getStartZoneOffset() { return _getStartZoneOffset( - reference.pointer, _id_getStartZoneOffset as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getStartZoneOffset as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getEndTime = _class.instanceMethodId( @@ -2401,23 +2785,23 @@ class StepsRecord extends _$jni.JObject { r'()Ljava/time/Instant;', ); - static final _getEndTime = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getEndTime = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.time.Instant getEndTime()` /// The returned object must be released after use, by calling the [release] method. Instant getEndTime() { - return _getEndTime(reference.pointer, _id_getEndTime as _$jni.JMethodIDPtr) - .object(const $Instant$Type()); + return _getEndTime(reference.pointer, _id_getEndTime as jni$_.JMethodIDPtr) + .object(const $Instant$Type()); } static final _id_getEndZoneOffset = _class.instanceMethodId( @@ -2425,24 +2809,24 @@ class StepsRecord extends _$jni.JObject { r'()Ljava/time/ZoneOffset;', ); - static final _getEndZoneOffset = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getEndZoneOffset = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.time.ZoneOffset getEndZoneOffset()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getEndZoneOffset() { + jni$_.JObject? getEndZoneOffset() { return _getEndZoneOffset( - reference.pointer, _id_getEndZoneOffset as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getEndZoneOffset as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getMetadata = _class.instanceMethodId( @@ -2450,24 +2834,24 @@ class StepsRecord extends _$jni.JObject { r'()Landroidx/health/connect/client/records/metadata/Metadata;', ); - static final _getMetadata = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getMetadata = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public androidx.health.connect.client.records.metadata.Metadata getMetadata()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getMetadata() { + jni$_.JObject getMetadata() { return _getMetadata( - reference.pointer, _id_getMetadata as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getMetadata as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectType()); } static final _id_equals = _class.instanceMethodId( @@ -2475,23 +2859,24 @@ class StepsRecord extends _$jni.JObject { r'(Ljava/lang/Object;)Z', ); - static final _equals = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _equals = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean equals(java.lang.Object object)` bool equals( - _$jni.JObject object, + jni$_.JObject? object, ) { - return _equals(reference.pointer, _id_equals as _$jni.JMethodIDPtr, - object.reference.pointer) + final _$object = object?.reference ?? jni$_.jNullReference; + return _equals(reference.pointer, _id_equals as jni$_.JMethodIDPtr, + _$object.pointer) .boolean; } @@ -2500,51 +2885,95 @@ class StepsRecord extends _$jni.JObject { r'()I', ); - static final _hashCode$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _hashCode$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int hashCode()` int hashCode$1() { - return _hashCode$1(reference.pointer, _id_hashCode$1 as _$jni.JMethodIDPtr) + return _hashCode$1(reference.pointer, _id_hashCode$1 as jni$_.JMethodIDPtr) .integer; } } -final class $StepsRecord$Type extends _$jni.JObjType { - @_$jni.internal - const $StepsRecord$Type(); +final class $StepsRecord$NullableType extends jni$_.JObjType { + @jni$_.internal + const $StepsRecord$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/records/StepsRecord;'; - @_$jni.internal - @_$core.override - StepsRecord fromReference(_$jni.JReference reference) => - StepsRecord.fromReference(reference); + @jni$_.internal + @core$_.override + StepsRecord? fromReference(jni$_.JReference reference) => reference.isNull + ? null + : StepsRecord.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($StepsRecord$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($StepsRecord$NullableType) && + other is $StepsRecord$NullableType; + } +} + +final class $StepsRecord$Type extends jni$_.JObjType { + @jni$_.internal + const $StepsRecord$Type(); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/records/StepsRecord;'; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + StepsRecord fromReference(jni$_.JReference reference) => + StepsRecord.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $StepsRecord$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override int get hashCode => ($StepsRecord$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($StepsRecord$Type) && other is $StepsRecord$Type; @@ -2552,43 +2981,44 @@ final class $StepsRecord$Type extends _$jni.JObjType { } /// from: `androidx.health.connect.client.time.TimeRangeFilter$Companion` -class TimeRangeFilter_Companion extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; - - @_$jni.internal - TimeRangeFilter_Companion.fromReference( - _$jni.JReference reference, +class TimeRangeFilter$Companion extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; + + @jni$_.internal + TimeRangeFilter$Companion.fromReference( + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/time/TimeRangeFilter$Companion'); /// The type which includes information such as the signature of this class. - static const type = $TimeRangeFilter_Companion$Type(); + static const nullableType = $TimeRangeFilter$Companion$NullableType(); + static const type = $TimeRangeFilter$Companion$Type(); static final _id_between = _class.instanceMethodId( r'between', r'(Ljava/time/Instant;Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _between = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _between = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.Instant instant, java.time.Instant instant1)` /// The returned object must be released after use, by calling the [release] method. @@ -2596,9 +3026,11 @@ class TimeRangeFilter_Companion extends _$jni.JObject { Instant instant, Instant instant1, ) { - return _between(reference.pointer, _id_between as _$jni.JMethodIDPtr, - instant.reference.pointer, instant1.reference.pointer) - .object(const $TimeRangeFilter$Type()); + final _$instant = instant.reference; + final _$instant1 = instant1.reference; + return _between(reference.pointer, _id_between as jni$_.JMethodIDPtr, + _$instant.pointer, _$instant1.pointer) + .object(const $TimeRangeFilter$Type()); } static final _id_between$1 = _class.instanceMethodId( @@ -2606,32 +3038,34 @@ class TimeRangeFilter_Companion extends _$jni.JObject { r'(Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _between$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _between$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1)` /// The returned object must be released after use, by calling the [release] method. TimeRangeFilter between$1( - _$jni.JObject localDateTime, - _$jni.JObject localDateTime1, + jni$_.JObject localDateTime, + jni$_.JObject localDateTime1, ) { - return _between$1(reference.pointer, _id_between$1 as _$jni.JMethodIDPtr, - localDateTime.reference.pointer, localDateTime1.reference.pointer) - .object(const $TimeRangeFilter$Type()); + final _$localDateTime = localDateTime.reference; + final _$localDateTime1 = localDateTime1.reference; + return _between$1(reference.pointer, _id_between$1 as jni$_.JMethodIDPtr, + _$localDateTime.pointer, _$localDateTime1.pointer) + .object(const $TimeRangeFilter$Type()); } static final _id_before = _class.instanceMethodId( @@ -2639,25 +3073,26 @@ class TimeRangeFilter_Companion extends _$jni.JObject { r'(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _before = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _before = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.Instant instant)` /// The returned object must be released after use, by calling the [release] method. TimeRangeFilter before( Instant instant, ) { - return _before(reference.pointer, _id_before as _$jni.JMethodIDPtr, - instant.reference.pointer) - .object(const $TimeRangeFilter$Type()); + final _$instant = instant.reference; + return _before(reference.pointer, _id_before as jni$_.JMethodIDPtr, + _$instant.pointer) + .object(const $TimeRangeFilter$Type()); } static final _id_before$1 = _class.instanceMethodId( @@ -2665,25 +3100,26 @@ class TimeRangeFilter_Companion extends _$jni.JObject { r'(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _before$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _before$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.LocalDateTime localDateTime)` /// The returned object must be released after use, by calling the [release] method. TimeRangeFilter before$1( - _$jni.JObject localDateTime, + jni$_.JObject localDateTime, ) { - return _before$1(reference.pointer, _id_before$1 as _$jni.JMethodIDPtr, - localDateTime.reference.pointer) - .object(const $TimeRangeFilter$Type()); + final _$localDateTime = localDateTime.reference; + return _before$1(reference.pointer, _id_before$1 as jni$_.JMethodIDPtr, + _$localDateTime.pointer) + .object(const $TimeRangeFilter$Type()); } static final _id_after = _class.instanceMethodId( @@ -2691,25 +3127,26 @@ class TimeRangeFilter_Companion extends _$jni.JObject { r'(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _after = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _after = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.Instant instant)` /// The returned object must be released after use, by calling the [release] method. TimeRangeFilter after( Instant instant, ) { - return _after(reference.pointer, _id_after as _$jni.JMethodIDPtr, - instant.reference.pointer) - .object(const $TimeRangeFilter$Type()); + final _$instant = instant.reference; + return _after(reference.pointer, _id_after as jni$_.JMethodIDPtr, + _$instant.pointer) + .object(const $TimeRangeFilter$Type()); } static final _id_after$1 = _class.instanceMethodId( @@ -2717,104 +3154,154 @@ class TimeRangeFilter_Companion extends _$jni.JObject { r'(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _after$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _after$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.LocalDateTime localDateTime)` /// The returned object must be released after use, by calling the [release] method. TimeRangeFilter after$1( - _$jni.JObject localDateTime, + jni$_.JObject localDateTime, ) { - return _after$1(reference.pointer, _id_after$1 as _$jni.JMethodIDPtr, - localDateTime.reference.pointer) - .object(const $TimeRangeFilter$Type()); + final _$localDateTime = localDateTime.reference; + return _after$1(reference.pointer, _id_after$1 as jni$_.JMethodIDPtr, + _$localDateTime.pointer) + .object(const $TimeRangeFilter$Type()); } static final _id_new$ = _class.constructorId( r'(Lkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_NewObject') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `synthetic public void (kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. - factory TimeRangeFilter_Companion( - _$jni.JObject defaultConstructorMarker, + factory TimeRangeFilter$Companion( + jni$_.JObject? defaultConstructorMarker, ) { - return TimeRangeFilter_Companion.fromReference(_new$( + final _$defaultConstructorMarker = + defaultConstructorMarker?.reference ?? jni$_.jNullReference; + return TimeRangeFilter$Companion.fromReference(_new$( _class.reference.pointer, - _id_new$ as _$jni.JMethodIDPtr, - defaultConstructorMarker.reference.pointer) + _id_new$ as jni$_.JMethodIDPtr, + _$defaultConstructorMarker.pointer) .reference); } } -final class $TimeRangeFilter_Companion$Type - extends _$jni.JObjType { - @_$jni.internal - const $TimeRangeFilter_Companion$Type(); +final class $TimeRangeFilter$Companion$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $TimeRangeFilter$Companion$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/time/TimeRangeFilter$Companion;'; - @_$jni.internal - @_$core.override - TimeRangeFilter_Companion fromReference(_$jni.JReference reference) => - TimeRangeFilter_Companion.fromReference(reference); + @jni$_.internal + @core$_.override + TimeRangeFilter$Companion? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : TimeRangeFilter$Companion.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($TimeRangeFilter$Companion$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($TimeRangeFilter$Companion$NullableType) && + other is $TimeRangeFilter$Companion$NullableType; + } +} + +final class $TimeRangeFilter$Companion$Type + extends jni$_.JObjType { + @jni$_.internal + const $TimeRangeFilter$Companion$Type(); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/time/TimeRangeFilter$Companion;'; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + TimeRangeFilter$Companion fromReference(jni$_.JReference reference) => + TimeRangeFilter$Companion.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $TimeRangeFilter$Companion$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override - int get hashCode => ($TimeRangeFilter_Companion$Type).hashCode; + @core$_.override + int get hashCode => ($TimeRangeFilter$Companion$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($TimeRangeFilter_Companion$Type) && - other is $TimeRangeFilter_Companion$Type; + return other.runtimeType == ($TimeRangeFilter$Companion$Type) && + other is $TimeRangeFilter$Companion$Type; } } /// from: `androidx.health.connect.client.time.TimeRangeFilter` -class TimeRangeFilter extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; +class TimeRangeFilter extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; - @_$jni.internal + @jni$_.internal TimeRangeFilter.fromReference( - _$jni.JReference reference, + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/time/TimeRangeFilter'); /// The type which includes information such as the signature of this class. + static const nullableType = $TimeRangeFilter$NullableType(); static const type = $TimeRangeFilter$Type(); static final _id_Companion = _class.staticFieldId( r'Companion', @@ -2823,49 +3310,53 @@ class TimeRangeFilter extends _$jni.JObject { /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter$Companion Companion` /// The returned object must be released after use, by calling the [release] method. - static TimeRangeFilter_Companion get Companion => - _id_Companion.get(_class, const $TimeRangeFilter_Companion$Type()); + static TimeRangeFilter$Companion get Companion => + _id_Companion.get(_class, const $TimeRangeFilter$Companion$Type()); static final _id_new$ = _class.constructorId( r'(Ljava/time/Instant;Ljava/time/Instant;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void (java.time.Instant instant, java.time.Instant instant1, java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1)` /// The returned object must be released after use, by calling the [release] method. factory TimeRangeFilter( - Instant instant, - Instant instant1, - _$jni.JObject localDateTime, - _$jni.JObject localDateTime1, - ) { + Instant? instant, + Instant? instant1, + jni$_.JObject? localDateTime, + jni$_.JObject? localDateTime1, + ) { + final _$instant = instant?.reference ?? jni$_.jNullReference; + final _$instant1 = instant1?.reference ?? jni$_.jNullReference; + final _$localDateTime = localDateTime?.reference ?? jni$_.jNullReference; + final _$localDateTime1 = localDateTime1?.reference ?? jni$_.jNullReference; return TimeRangeFilter.fromReference(_new$( _class.reference.pointer, - _id_new$ as _$jni.JMethodIDPtr, - instant.reference.pointer, - instant1.reference.pointer, - localDateTime.reference.pointer, - localDateTime1.reference.pointer) + _id_new$ as jni$_.JMethodIDPtr, + _$instant.pointer, + _$instant1.pointer, + _$localDateTime.pointer, + _$localDateTime1.pointer) .reference); } @@ -2873,50 +3364,56 @@ class TimeRangeFilter extends _$jni.JObject { r'(Ljava/time/Instant;Ljava/time/Instant;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `synthetic public void (java.time.Instant instant, java.time.Instant instant1, java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. factory TimeRangeFilter.new$1( - Instant instant, - Instant instant1, - _$jni.JObject localDateTime, - _$jni.JObject localDateTime1, + Instant? instant, + Instant? instant1, + jni$_.JObject? localDateTime, + jni$_.JObject? localDateTime1, int i, - _$jni.JObject defaultConstructorMarker, - ) { + jni$_.JObject? defaultConstructorMarker, + ) { + final _$instant = instant?.reference ?? jni$_.jNullReference; + final _$instant1 = instant1?.reference ?? jni$_.jNullReference; + final _$localDateTime = localDateTime?.reference ?? jni$_.jNullReference; + final _$localDateTime1 = localDateTime1?.reference ?? jni$_.jNullReference; + final _$defaultConstructorMarker = + defaultConstructorMarker?.reference ?? jni$_.jNullReference; return TimeRangeFilter.fromReference(_new$1( _class.reference.pointer, - _id_new$1 as _$jni.JMethodIDPtr, - instant.reference.pointer, - instant1.reference.pointer, - localDateTime.reference.pointer, - localDateTime1.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + _$instant.pointer, + _$instant1.pointer, + _$localDateTime.pointer, + _$localDateTime1.pointer, i, - defaultConstructorMarker.reference.pointer) + _$defaultConstructorMarker.pointer) .reference); } @@ -2925,23 +3422,24 @@ class TimeRangeFilter extends _$jni.JObject { r'(Ljava/lang/Object;)Z', ); - static final _equals = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _equals = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean equals(java.lang.Object object)` bool equals( - _$jni.JObject object, + jni$_.JObject? object, ) { - return _equals(reference.pointer, _id_equals as _$jni.JMethodIDPtr, - object.reference.pointer) + final _$object = object?.reference ?? jni$_.jNullReference; + return _equals(reference.pointer, _id_equals as jni$_.JMethodIDPtr, + _$object.pointer) .boolean; } @@ -2950,21 +3448,21 @@ class TimeRangeFilter extends _$jni.JObject { r'()I', ); - static final _hashCode$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _hashCode$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int hashCode()` int hashCode$1() { - return _hashCode$1(reference.pointer, _id_hashCode$1 as _$jni.JMethodIDPtr) + return _hashCode$1(reference.pointer, _id_hashCode$1 as jni$_.JMethodIDPtr) .integer; } @@ -2972,23 +3470,23 @@ class TimeRangeFilter extends _$jni.JObject { r'()V', ); - static final _new$2 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _new$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory TimeRangeFilter.new$2() { return TimeRangeFilter.fromReference( - _new$2(_class.reference.pointer, _id_new$2 as _$jni.JMethodIDPtr) + _new$2(_class.reference.pointer, _id_new$2 as jni$_.JMethodIDPtr) .reference); } @@ -2997,22 +3495,22 @@ class TimeRangeFilter extends _$jni.JObject { r'(Ljava/time/Instant;Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _between = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _between = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.Instant instant, java.time.Instant instant1)` /// The returned object must be released after use, by calling the [release] method. @@ -3020,9 +3518,11 @@ class TimeRangeFilter extends _$jni.JObject { Instant instant, Instant instant1, ) { - return _between(_class.reference.pointer, _id_between as _$jni.JMethodIDPtr, - instant.reference.pointer, instant1.reference.pointer) - .object(const $TimeRangeFilter$Type()); + final _$instant = instant.reference; + final _$instant1 = instant1.reference; + return _between(_class.reference.pointer, _id_between as jni$_.JMethodIDPtr, + _$instant.pointer, _$instant1.pointer) + .object(const $TimeRangeFilter$Type()); } static final _id_between$1 = _class.staticMethodId( @@ -3030,35 +3530,37 @@ class TimeRangeFilter extends _$jni.JObject { r'(Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _between$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _between$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1)` /// The returned object must be released after use, by calling the [release] method. static TimeRangeFilter between$1( - _$jni.JObject localDateTime, - _$jni.JObject localDateTime1, + jni$_.JObject localDateTime, + jni$_.JObject localDateTime1, ) { + final _$localDateTime = localDateTime.reference; + final _$localDateTime1 = localDateTime1.reference; return _between$1( _class.reference.pointer, - _id_between$1 as _$jni.JMethodIDPtr, - localDateTime.reference.pointer, - localDateTime1.reference.pointer) - .object(const $TimeRangeFilter$Type()); + _id_between$1 as jni$_.JMethodIDPtr, + _$localDateTime.pointer, + _$localDateTime1.pointer) + .object(const $TimeRangeFilter$Type()); } static final _id_before = _class.staticMethodId( @@ -3066,25 +3568,26 @@ class TimeRangeFilter extends _$jni.JObject { r'(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _before = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _before = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.Instant instant)` /// The returned object must be released after use, by calling the [release] method. static TimeRangeFilter before( Instant instant, ) { - return _before(_class.reference.pointer, _id_before as _$jni.JMethodIDPtr, - instant.reference.pointer) - .object(const $TimeRangeFilter$Type()); + final _$instant = instant.reference; + return _before(_class.reference.pointer, _id_before as jni$_.JMethodIDPtr, + _$instant.pointer) + .object(const $TimeRangeFilter$Type()); } static final _id_before$1 = _class.staticMethodId( @@ -3092,25 +3595,26 @@ class TimeRangeFilter extends _$jni.JObject { r'(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _before$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _before$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.LocalDateTime localDateTime)` /// The returned object must be released after use, by calling the [release] method. static TimeRangeFilter before$1( - _$jni.JObject localDateTime, + jni$_.JObject localDateTime, ) { + final _$localDateTime = localDateTime.reference; return _before$1(_class.reference.pointer, - _id_before$1 as _$jni.JMethodIDPtr, localDateTime.reference.pointer) - .object(const $TimeRangeFilter$Type()); + _id_before$1 as jni$_.JMethodIDPtr, _$localDateTime.pointer) + .object(const $TimeRangeFilter$Type()); } static final _id_after = _class.staticMethodId( @@ -3118,25 +3622,26 @@ class TimeRangeFilter extends _$jni.JObject { r'(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _after = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _after = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.Instant instant)` /// The returned object must be released after use, by calling the [release] method. static TimeRangeFilter after( Instant instant, ) { - return _after(_class.reference.pointer, _id_after as _$jni.JMethodIDPtr, - instant.reference.pointer) - .object(const $TimeRangeFilter$Type()); + final _$instant = instant.reference; + return _after(_class.reference.pointer, _id_after as jni$_.JMethodIDPtr, + _$instant.pointer) + .object(const $TimeRangeFilter$Type()); } static final _id_after$1 = _class.staticMethodId( @@ -3144,54 +3649,100 @@ class TimeRangeFilter extends _$jni.JObject { r'(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _after$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _after$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.LocalDateTime localDateTime)` /// The returned object must be released after use, by calling the [release] method. static TimeRangeFilter after$1( - _$jni.JObject localDateTime, + jni$_.JObject localDateTime, ) { - return _after$1(_class.reference.pointer, _id_after$1 as _$jni.JMethodIDPtr, - localDateTime.reference.pointer) - .object(const $TimeRangeFilter$Type()); + final _$localDateTime = localDateTime.reference; + return _after$1(_class.reference.pointer, _id_after$1 as jni$_.JMethodIDPtr, + _$localDateTime.pointer) + .object(const $TimeRangeFilter$Type()); } } -final class $TimeRangeFilter$Type extends _$jni.JObjType { - @_$jni.internal - const $TimeRangeFilter$Type(); +final class $TimeRangeFilter$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $TimeRangeFilter$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/time/TimeRangeFilter;'; - @_$jni.internal - @_$core.override - TimeRangeFilter fromReference(_$jni.JReference reference) => - TimeRangeFilter.fromReference(reference); + @jni$_.internal + @core$_.override + TimeRangeFilter? fromReference(jni$_.JReference reference) => reference.isNull + ? null + : TimeRangeFilter.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override + int get hashCode => ($TimeRangeFilter$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($TimeRangeFilter$NullableType) && + other is $TimeRangeFilter$NullableType; + } +} + +final class $TimeRangeFilter$Type extends jni$_.JObjType { + @jni$_.internal + const $TimeRangeFilter$Type(); + + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/time/TimeRangeFilter;'; + + @jni$_.internal + @core$_.override + TimeRangeFilter fromReference(jni$_.JReference reference) => + TimeRangeFilter.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $TimeRangeFilter$NullableType(); + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override int get hashCode => ($TimeRangeFilter$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($TimeRangeFilter$Type) && other is $TimeRangeFilter$Type; @@ -3199,20 +3750,21 @@ final class $TimeRangeFilter$Type extends _$jni.JObjType { } /// from: `android.content.Context` -class Context extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; +class Context extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; - @_$jni.internal + @jni$_.internal Context.fromReference( - _$jni.JReference reference, + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName(r'android/content/Context'); + static final _class = jni$_.JClass.forName(r'android/content/Context'); /// The type which includes information such as the signature of this class. + static const nullableType = $Context$NullableType(); static const type = $Context$Type(); static final _id_ACCESSIBILITY_SERVICE = _class.staticFieldId( r'ACCESSIBILITY_SERVICE', @@ -3221,8 +3773,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String ACCESSIBILITY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACCESSIBILITY_SERVICE => - _id_ACCESSIBILITY_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACCESSIBILITY_SERVICE => + _id_ACCESSIBILITY_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_ACCOUNT_SERVICE = _class.staticFieldId( r'ACCOUNT_SERVICE', @@ -3231,8 +3783,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String ACCOUNT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACCOUNT_SERVICE => - _id_ACCOUNT_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACCOUNT_SERVICE => + _id_ACCOUNT_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_ACTIVITY_SERVICE = _class.staticFieldId( r'ACTIVITY_SERVICE', @@ -3241,8 +3793,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String ACTIVITY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTIVITY_SERVICE => - _id_ACTIVITY_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTIVITY_SERVICE => + _id_ACTIVITY_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_ALARM_SERVICE = _class.staticFieldId( r'ALARM_SERVICE', @@ -3251,8 +3803,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String ALARM_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ALARM_SERVICE => - _id_ALARM_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ALARM_SERVICE => + _id_ALARM_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_APPWIDGET_SERVICE = _class.staticFieldId( r'APPWIDGET_SERVICE', @@ -3261,8 +3813,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String APPWIDGET_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get APPWIDGET_SERVICE => - _id_APPWIDGET_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get APPWIDGET_SERVICE => + _id_APPWIDGET_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_APP_OPS_SERVICE = _class.staticFieldId( r'APP_OPS_SERVICE', @@ -3271,8 +3823,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String APP_OPS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get APP_OPS_SERVICE => - _id_APP_OPS_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get APP_OPS_SERVICE => + _id_APP_OPS_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_APP_SEARCH_SERVICE = _class.staticFieldId( r'APP_SEARCH_SERVICE', @@ -3281,8 +3833,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String APP_SEARCH_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get APP_SEARCH_SERVICE => - _id_APP_SEARCH_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get APP_SEARCH_SERVICE => + _id_APP_SEARCH_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_AUDIO_SERVICE = _class.staticFieldId( r'AUDIO_SERVICE', @@ -3291,8 +3843,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String AUDIO_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get AUDIO_SERVICE => - _id_AUDIO_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get AUDIO_SERVICE => + _id_AUDIO_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_BATTERY_SERVICE = _class.staticFieldId( r'BATTERY_SERVICE', @@ -3301,8 +3853,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String BATTERY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get BATTERY_SERVICE => - _id_BATTERY_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get BATTERY_SERVICE => + _id_BATTERY_SERVICE.get(_class, const jni$_.JStringNullableType()); /// from: `static public final int BIND_ABOVE_CLIENT` static const BIND_ABOVE_CLIENT = 8; @@ -3343,8 +3895,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String BIOMETRIC_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get BIOMETRIC_SERVICE => - _id_BIOMETRIC_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get BIOMETRIC_SERVICE => + _id_BIOMETRIC_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_BLOB_STORE_SERVICE = _class.staticFieldId( r'BLOB_STORE_SERVICE', @@ -3353,8 +3905,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String BLOB_STORE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get BLOB_STORE_SERVICE => - _id_BLOB_STORE_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get BLOB_STORE_SERVICE => + _id_BLOB_STORE_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_BLUETOOTH_SERVICE = _class.staticFieldId( r'BLUETOOTH_SERVICE', @@ -3363,8 +3915,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String BLUETOOTH_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get BLUETOOTH_SERVICE => - _id_BLUETOOTH_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get BLUETOOTH_SERVICE => + _id_BLUETOOTH_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_BUGREPORT_SERVICE = _class.staticFieldId( r'BUGREPORT_SERVICE', @@ -3373,8 +3925,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String BUGREPORT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get BUGREPORT_SERVICE => - _id_BUGREPORT_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get BUGREPORT_SERVICE => + _id_BUGREPORT_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_CAMERA_SERVICE = _class.staticFieldId( r'CAMERA_SERVICE', @@ -3383,8 +3935,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String CAMERA_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CAMERA_SERVICE => - _id_CAMERA_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CAMERA_SERVICE => + _id_CAMERA_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_CAPTIONING_SERVICE = _class.staticFieldId( r'CAPTIONING_SERVICE', @@ -3393,8 +3945,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String CAPTIONING_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CAPTIONING_SERVICE => - _id_CAPTIONING_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CAPTIONING_SERVICE => + _id_CAPTIONING_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_CARRIER_CONFIG_SERVICE = _class.staticFieldId( r'CARRIER_CONFIG_SERVICE', @@ -3403,8 +3955,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String CARRIER_CONFIG_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CARRIER_CONFIG_SERVICE => - _id_CARRIER_CONFIG_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CARRIER_CONFIG_SERVICE => + _id_CARRIER_CONFIG_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_CLIPBOARD_SERVICE = _class.staticFieldId( r'CLIPBOARD_SERVICE', @@ -3413,8 +3965,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String CLIPBOARD_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CLIPBOARD_SERVICE => - _id_CLIPBOARD_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CLIPBOARD_SERVICE => + _id_CLIPBOARD_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_COMPANION_DEVICE_SERVICE = _class.staticFieldId( r'COMPANION_DEVICE_SERVICE', @@ -3423,8 +3975,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String COMPANION_DEVICE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get COMPANION_DEVICE_SERVICE => - _id_COMPANION_DEVICE_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get COMPANION_DEVICE_SERVICE => + _id_COMPANION_DEVICE_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_CONNECTIVITY_DIAGNOSTICS_SERVICE = _class.staticFieldId( r'CONNECTIVITY_DIAGNOSTICS_SERVICE', @@ -3433,9 +3986,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String CONNECTIVITY_DIAGNOSTICS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CONNECTIVITY_DIAGNOSTICS_SERVICE => + static jni$_.JString? get CONNECTIVITY_DIAGNOSTICS_SERVICE => _id_CONNECTIVITY_DIAGNOSTICS_SERVICE.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_CONNECTIVITY_SERVICE = _class.staticFieldId( r'CONNECTIVITY_SERVICE', @@ -3444,8 +3997,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String CONNECTIVITY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CONNECTIVITY_SERVICE => - _id_CONNECTIVITY_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CONNECTIVITY_SERVICE => + _id_CONNECTIVITY_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_CONSUMER_IR_SERVICE = _class.staticFieldId( r'CONSUMER_IR_SERVICE', @@ -3454,8 +4007,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String CONSUMER_IR_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CONSUMER_IR_SERVICE => - _id_CONSUMER_IR_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CONSUMER_IR_SERVICE => + _id_CONSUMER_IR_SERVICE.get(_class, const jni$_.JStringNullableType()); /// from: `static public final int CONTEXT_IGNORE_SECURITY` static const CONTEXT_IGNORE_SECURITY = 2; @@ -3472,8 +4025,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String CROSS_PROFILE_APPS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CROSS_PROFILE_APPS_SERVICE => - _id_CROSS_PROFILE_APPS_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CROSS_PROFILE_APPS_SERVICE => + _id_CROSS_PROFILE_APPS_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_DEVICE_POLICY_SERVICE = _class.staticFieldId( r'DEVICE_POLICY_SERVICE', @@ -3482,8 +4036,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String DEVICE_POLICY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get DEVICE_POLICY_SERVICE => - _id_DEVICE_POLICY_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get DEVICE_POLICY_SERVICE => + _id_DEVICE_POLICY_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_DISPLAY_HASH_SERVICE = _class.staticFieldId( r'DISPLAY_HASH_SERVICE', @@ -3492,8 +4046,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String DISPLAY_HASH_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get DISPLAY_HASH_SERVICE => - _id_DISPLAY_HASH_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get DISPLAY_HASH_SERVICE => + _id_DISPLAY_HASH_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_DISPLAY_SERVICE = _class.staticFieldId( r'DISPLAY_SERVICE', @@ -3502,8 +4056,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String DISPLAY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get DISPLAY_SERVICE => - _id_DISPLAY_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get DISPLAY_SERVICE => + _id_DISPLAY_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_DOMAIN_VERIFICATION_SERVICE = _class.staticFieldId( r'DOMAIN_VERIFICATION_SERVICE', @@ -3512,8 +4066,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String DOMAIN_VERIFICATION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get DOMAIN_VERIFICATION_SERVICE => - _id_DOMAIN_VERIFICATION_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get DOMAIN_VERIFICATION_SERVICE => + _id_DOMAIN_VERIFICATION_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_DOWNLOAD_SERVICE = _class.staticFieldId( r'DOWNLOAD_SERVICE', @@ -3522,8 +4077,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String DOWNLOAD_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get DOWNLOAD_SERVICE => - _id_DOWNLOAD_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get DOWNLOAD_SERVICE => + _id_DOWNLOAD_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_DROPBOX_SERVICE = _class.staticFieldId( r'DROPBOX_SERVICE', @@ -3532,8 +4087,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String DROPBOX_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get DROPBOX_SERVICE => - _id_DROPBOX_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get DROPBOX_SERVICE => + _id_DROPBOX_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_EUICC_SERVICE = _class.staticFieldId( r'EUICC_SERVICE', @@ -3542,8 +4097,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String EUICC_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EUICC_SERVICE => - _id_EUICC_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EUICC_SERVICE => + _id_EUICC_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_FILE_INTEGRITY_SERVICE = _class.staticFieldId( r'FILE_INTEGRITY_SERVICE', @@ -3552,8 +4107,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String FILE_INTEGRITY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get FILE_INTEGRITY_SERVICE => - _id_FILE_INTEGRITY_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get FILE_INTEGRITY_SERVICE => + _id_FILE_INTEGRITY_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_FINGERPRINT_SERVICE = _class.staticFieldId( r'FINGERPRINT_SERVICE', @@ -3562,8 +4117,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String FINGERPRINT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get FINGERPRINT_SERVICE => - _id_FINGERPRINT_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get FINGERPRINT_SERVICE => + _id_FINGERPRINT_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_GAME_SERVICE = _class.staticFieldId( r'GAME_SERVICE', @@ -3572,8 +4127,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String GAME_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get GAME_SERVICE => - _id_GAME_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get GAME_SERVICE => + _id_GAME_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_HARDWARE_PROPERTIES_SERVICE = _class.staticFieldId( r'HARDWARE_PROPERTIES_SERVICE', @@ -3582,8 +4137,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String HARDWARE_PROPERTIES_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get HARDWARE_PROPERTIES_SERVICE => - _id_HARDWARE_PROPERTIES_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get HARDWARE_PROPERTIES_SERVICE => + _id_HARDWARE_PROPERTIES_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_INPUT_METHOD_SERVICE = _class.staticFieldId( r'INPUT_METHOD_SERVICE', @@ -3592,8 +4148,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String INPUT_METHOD_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get INPUT_METHOD_SERVICE => - _id_INPUT_METHOD_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get INPUT_METHOD_SERVICE => + _id_INPUT_METHOD_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_INPUT_SERVICE = _class.staticFieldId( r'INPUT_SERVICE', @@ -3602,8 +4158,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String INPUT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get INPUT_SERVICE => - _id_INPUT_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get INPUT_SERVICE => + _id_INPUT_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_IPSEC_SERVICE = _class.staticFieldId( r'IPSEC_SERVICE', @@ -3612,8 +4168,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String IPSEC_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get IPSEC_SERVICE => - _id_IPSEC_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get IPSEC_SERVICE => + _id_IPSEC_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_JOB_SCHEDULER_SERVICE = _class.staticFieldId( r'JOB_SCHEDULER_SERVICE', @@ -3622,8 +4178,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String JOB_SCHEDULER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get JOB_SCHEDULER_SERVICE => - _id_JOB_SCHEDULER_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get JOB_SCHEDULER_SERVICE => + _id_JOB_SCHEDULER_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_KEYGUARD_SERVICE = _class.staticFieldId( r'KEYGUARD_SERVICE', @@ -3632,8 +4188,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String KEYGUARD_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get KEYGUARD_SERVICE => - _id_KEYGUARD_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get KEYGUARD_SERVICE => + _id_KEYGUARD_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_LAUNCHER_APPS_SERVICE = _class.staticFieldId( r'LAUNCHER_APPS_SERVICE', @@ -3642,8 +4198,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String LAUNCHER_APPS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get LAUNCHER_APPS_SERVICE => - _id_LAUNCHER_APPS_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get LAUNCHER_APPS_SERVICE => + _id_LAUNCHER_APPS_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_LAYOUT_INFLATER_SERVICE = _class.staticFieldId( r'LAYOUT_INFLATER_SERVICE', @@ -3652,8 +4208,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String LAYOUT_INFLATER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get LAYOUT_INFLATER_SERVICE => - _id_LAYOUT_INFLATER_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get LAYOUT_INFLATER_SERVICE => + _id_LAYOUT_INFLATER_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_LOCALE_SERVICE = _class.staticFieldId( r'LOCALE_SERVICE', @@ -3662,8 +4219,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String LOCALE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get LOCALE_SERVICE => - _id_LOCALE_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get LOCALE_SERVICE => + _id_LOCALE_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_LOCATION_SERVICE = _class.staticFieldId( r'LOCATION_SERVICE', @@ -3672,8 +4229,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String LOCATION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get LOCATION_SERVICE => - _id_LOCATION_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get LOCATION_SERVICE => + _id_LOCATION_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_MEDIA_COMMUNICATION_SERVICE = _class.staticFieldId( r'MEDIA_COMMUNICATION_SERVICE', @@ -3682,8 +4239,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String MEDIA_COMMUNICATION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get MEDIA_COMMUNICATION_SERVICE => - _id_MEDIA_COMMUNICATION_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get MEDIA_COMMUNICATION_SERVICE => + _id_MEDIA_COMMUNICATION_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_MEDIA_METRICS_SERVICE = _class.staticFieldId( r'MEDIA_METRICS_SERVICE', @@ -3692,8 +4250,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String MEDIA_METRICS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get MEDIA_METRICS_SERVICE => - _id_MEDIA_METRICS_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get MEDIA_METRICS_SERVICE => + _id_MEDIA_METRICS_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_MEDIA_PROJECTION_SERVICE = _class.staticFieldId( r'MEDIA_PROJECTION_SERVICE', @@ -3702,8 +4260,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String MEDIA_PROJECTION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get MEDIA_PROJECTION_SERVICE => - _id_MEDIA_PROJECTION_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get MEDIA_PROJECTION_SERVICE => + _id_MEDIA_PROJECTION_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_MEDIA_ROUTER_SERVICE = _class.staticFieldId( r'MEDIA_ROUTER_SERVICE', @@ -3712,8 +4271,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String MEDIA_ROUTER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get MEDIA_ROUTER_SERVICE => - _id_MEDIA_ROUTER_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get MEDIA_ROUTER_SERVICE => + _id_MEDIA_ROUTER_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_MEDIA_SESSION_SERVICE = _class.staticFieldId( r'MEDIA_SESSION_SERVICE', @@ -3722,8 +4281,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String MEDIA_SESSION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get MEDIA_SESSION_SERVICE => - _id_MEDIA_SESSION_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get MEDIA_SESSION_SERVICE => + _id_MEDIA_SESSION_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_MIDI_SERVICE = _class.staticFieldId( r'MIDI_SERVICE', @@ -3732,8 +4291,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String MIDI_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get MIDI_SERVICE => - _id_MIDI_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get MIDI_SERVICE => + _id_MIDI_SERVICE.get(_class, const jni$_.JStringNullableType()); /// from: `static public final int MODE_APPEND` static const MODE_APPEND = 32768; @@ -3762,8 +4321,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String NETWORK_STATS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get NETWORK_STATS_SERVICE => - _id_NETWORK_STATS_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get NETWORK_STATS_SERVICE => + _id_NETWORK_STATS_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_NFC_SERVICE = _class.staticFieldId( r'NFC_SERVICE', @@ -3772,8 +4331,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String NFC_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get NFC_SERVICE => - _id_NFC_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get NFC_SERVICE => + _id_NFC_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_NOTIFICATION_SERVICE = _class.staticFieldId( r'NOTIFICATION_SERVICE', @@ -3782,8 +4341,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String NOTIFICATION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get NOTIFICATION_SERVICE => - _id_NOTIFICATION_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get NOTIFICATION_SERVICE => + _id_NOTIFICATION_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_NSD_SERVICE = _class.staticFieldId( r'NSD_SERVICE', @@ -3792,8 +4351,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String NSD_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get NSD_SERVICE => - _id_NSD_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get NSD_SERVICE => + _id_NSD_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_PEOPLE_SERVICE = _class.staticFieldId( r'PEOPLE_SERVICE', @@ -3802,8 +4361,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String PEOPLE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get PEOPLE_SERVICE => - _id_PEOPLE_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get PEOPLE_SERVICE => + _id_PEOPLE_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_PERFORMANCE_HINT_SERVICE = _class.staticFieldId( r'PERFORMANCE_HINT_SERVICE', @@ -3812,8 +4371,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String PERFORMANCE_HINT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get PERFORMANCE_HINT_SERVICE => - _id_PERFORMANCE_HINT_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get PERFORMANCE_HINT_SERVICE => + _id_PERFORMANCE_HINT_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_POWER_SERVICE = _class.staticFieldId( r'POWER_SERVICE', @@ -3822,8 +4382,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String POWER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get POWER_SERVICE => - _id_POWER_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get POWER_SERVICE => + _id_POWER_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_PRINT_SERVICE = _class.staticFieldId( r'PRINT_SERVICE', @@ -3832,8 +4392,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String PRINT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get PRINT_SERVICE => - _id_PRINT_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get PRINT_SERVICE => + _id_PRINT_SERVICE.get(_class, const jni$_.JStringNullableType()); /// from: `static public final int RECEIVER_EXPORTED` static const RECEIVER_EXPORTED = 2; @@ -3850,8 +4410,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String RESTRICTIONS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get RESTRICTIONS_SERVICE => - _id_RESTRICTIONS_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get RESTRICTIONS_SERVICE => + _id_RESTRICTIONS_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_ROLE_SERVICE = _class.staticFieldId( r'ROLE_SERVICE', @@ -3860,8 +4420,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String ROLE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ROLE_SERVICE => - _id_ROLE_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ROLE_SERVICE => + _id_ROLE_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_SEARCH_SERVICE = _class.staticFieldId( r'SEARCH_SERVICE', @@ -3870,8 +4430,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String SEARCH_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get SEARCH_SERVICE => - _id_SEARCH_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get SEARCH_SERVICE => + _id_SEARCH_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_SENSOR_SERVICE = _class.staticFieldId( r'SENSOR_SERVICE', @@ -3880,8 +4440,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String SENSOR_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get SENSOR_SERVICE => - _id_SENSOR_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get SENSOR_SERVICE => + _id_SENSOR_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_SHORTCUT_SERVICE = _class.staticFieldId( r'SHORTCUT_SERVICE', @@ -3890,8 +4450,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String SHORTCUT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get SHORTCUT_SERVICE => - _id_SHORTCUT_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get SHORTCUT_SERVICE => + _id_SHORTCUT_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_STATUS_BAR_SERVICE = _class.staticFieldId( r'STATUS_BAR_SERVICE', @@ -3900,8 +4460,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String STATUS_BAR_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get STATUS_BAR_SERVICE => - _id_STATUS_BAR_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get STATUS_BAR_SERVICE => + _id_STATUS_BAR_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_STORAGE_SERVICE = _class.staticFieldId( r'STORAGE_SERVICE', @@ -3910,8 +4470,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String STORAGE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get STORAGE_SERVICE => - _id_STORAGE_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get STORAGE_SERVICE => + _id_STORAGE_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_STORAGE_STATS_SERVICE = _class.staticFieldId( r'STORAGE_STATS_SERVICE', @@ -3920,8 +4480,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String STORAGE_STATS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get STORAGE_STATS_SERVICE => - _id_STORAGE_STATS_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get STORAGE_STATS_SERVICE => + _id_STORAGE_STATS_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_SYSTEM_HEALTH_SERVICE = _class.staticFieldId( r'SYSTEM_HEALTH_SERVICE', @@ -3930,8 +4490,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String SYSTEM_HEALTH_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get SYSTEM_HEALTH_SERVICE => - _id_SYSTEM_HEALTH_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get SYSTEM_HEALTH_SERVICE => + _id_SYSTEM_HEALTH_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_TELECOM_SERVICE = _class.staticFieldId( r'TELECOM_SERVICE', @@ -3940,8 +4500,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String TELECOM_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get TELECOM_SERVICE => - _id_TELECOM_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get TELECOM_SERVICE => + _id_TELECOM_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_TELEPHONY_IMS_SERVICE = _class.staticFieldId( r'TELEPHONY_IMS_SERVICE', @@ -3950,8 +4510,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String TELEPHONY_IMS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get TELEPHONY_IMS_SERVICE => - _id_TELEPHONY_IMS_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get TELEPHONY_IMS_SERVICE => + _id_TELEPHONY_IMS_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_TELEPHONY_SERVICE = _class.staticFieldId( r'TELEPHONY_SERVICE', @@ -3960,8 +4520,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String TELEPHONY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get TELEPHONY_SERVICE => - _id_TELEPHONY_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get TELEPHONY_SERVICE => + _id_TELEPHONY_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_TELEPHONY_SUBSCRIPTION_SERVICE = _class.staticFieldId( r'TELEPHONY_SUBSCRIPTION_SERVICE', @@ -3970,8 +4530,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String TELEPHONY_SUBSCRIPTION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get TELEPHONY_SUBSCRIPTION_SERVICE => - _id_TELEPHONY_SUBSCRIPTION_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get TELEPHONY_SUBSCRIPTION_SERVICE => + _id_TELEPHONY_SUBSCRIPTION_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_TEXT_CLASSIFICATION_SERVICE = _class.staticFieldId( r'TEXT_CLASSIFICATION_SERVICE', @@ -3980,8 +4541,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String TEXT_CLASSIFICATION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get TEXT_CLASSIFICATION_SERVICE => - _id_TEXT_CLASSIFICATION_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get TEXT_CLASSIFICATION_SERVICE => + _id_TEXT_CLASSIFICATION_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_TEXT_SERVICES_MANAGER_SERVICE = _class.staticFieldId( r'TEXT_SERVICES_MANAGER_SERVICE', @@ -3990,8 +4552,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String TEXT_SERVICES_MANAGER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get TEXT_SERVICES_MANAGER_SERVICE => - _id_TEXT_SERVICES_MANAGER_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get TEXT_SERVICES_MANAGER_SERVICE => + _id_TEXT_SERVICES_MANAGER_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_TV_INPUT_SERVICE = _class.staticFieldId( r'TV_INPUT_SERVICE', @@ -4000,8 +4563,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String TV_INPUT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get TV_INPUT_SERVICE => - _id_TV_INPUT_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get TV_INPUT_SERVICE => + _id_TV_INPUT_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_TV_INTERACTIVE_APP_SERVICE = _class.staticFieldId( r'TV_INTERACTIVE_APP_SERVICE', @@ -4010,8 +4573,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String TV_INTERACTIVE_APP_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get TV_INTERACTIVE_APP_SERVICE => - _id_TV_INTERACTIVE_APP_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get TV_INTERACTIVE_APP_SERVICE => + _id_TV_INTERACTIVE_APP_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_UI_MODE_SERVICE = _class.staticFieldId( r'UI_MODE_SERVICE', @@ -4020,8 +4584,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String UI_MODE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get UI_MODE_SERVICE => - _id_UI_MODE_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get UI_MODE_SERVICE => + _id_UI_MODE_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_USAGE_STATS_SERVICE = _class.staticFieldId( r'USAGE_STATS_SERVICE', @@ -4030,8 +4594,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String USAGE_STATS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get USAGE_STATS_SERVICE => - _id_USAGE_STATS_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get USAGE_STATS_SERVICE => + _id_USAGE_STATS_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_USB_SERVICE = _class.staticFieldId( r'USB_SERVICE', @@ -4040,8 +4604,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String USB_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get USB_SERVICE => - _id_USB_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get USB_SERVICE => + _id_USB_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_USER_SERVICE = _class.staticFieldId( r'USER_SERVICE', @@ -4050,8 +4614,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String USER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get USER_SERVICE => - _id_USER_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get USER_SERVICE => + _id_USER_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_VIBRATOR_MANAGER_SERVICE = _class.staticFieldId( r'VIBRATOR_MANAGER_SERVICE', @@ -4060,8 +4624,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String VIBRATOR_MANAGER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get VIBRATOR_MANAGER_SERVICE => - _id_VIBRATOR_MANAGER_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get VIBRATOR_MANAGER_SERVICE => + _id_VIBRATOR_MANAGER_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_VIBRATOR_SERVICE = _class.staticFieldId( r'VIBRATOR_SERVICE', @@ -4070,8 +4635,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String VIBRATOR_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get VIBRATOR_SERVICE => - _id_VIBRATOR_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get VIBRATOR_SERVICE => + _id_VIBRATOR_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_VPN_MANAGEMENT_SERVICE = _class.staticFieldId( r'VPN_MANAGEMENT_SERVICE', @@ -4080,8 +4645,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String VPN_MANAGEMENT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get VPN_MANAGEMENT_SERVICE => - _id_VPN_MANAGEMENT_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get VPN_MANAGEMENT_SERVICE => + _id_VPN_MANAGEMENT_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_WALLPAPER_SERVICE = _class.staticFieldId( r'WALLPAPER_SERVICE', @@ -4090,8 +4655,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String WALLPAPER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get WALLPAPER_SERVICE => - _id_WALLPAPER_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get WALLPAPER_SERVICE => + _id_WALLPAPER_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_WIFI_AWARE_SERVICE = _class.staticFieldId( r'WIFI_AWARE_SERVICE', @@ -4100,8 +4665,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String WIFI_AWARE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get WIFI_AWARE_SERVICE => - _id_WIFI_AWARE_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get WIFI_AWARE_SERVICE => + _id_WIFI_AWARE_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_WIFI_P2P_SERVICE = _class.staticFieldId( r'WIFI_P2P_SERVICE', @@ -4110,8 +4675,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String WIFI_P2P_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get WIFI_P2P_SERVICE => - _id_WIFI_P2P_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get WIFI_P2P_SERVICE => + _id_WIFI_P2P_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_WIFI_RTT_RANGING_SERVICE = _class.staticFieldId( r'WIFI_RTT_RANGING_SERVICE', @@ -4120,8 +4685,9 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String WIFI_RTT_RANGING_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get WIFI_RTT_RANGING_SERVICE => - _id_WIFI_RTT_RANGING_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get WIFI_RTT_RANGING_SERVICE => + _id_WIFI_RTT_RANGING_SERVICE.get( + _class, const jni$_.JStringNullableType()); static final _id_WIFI_SERVICE = _class.staticFieldId( r'WIFI_SERVICE', @@ -4130,8 +4696,8 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String WIFI_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get WIFI_SERVICE => - _id_WIFI_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get WIFI_SERVICE => + _id_WIFI_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_WINDOW_SERVICE = _class.staticFieldId( r'WINDOW_SERVICE', @@ -4140,31 +4706,31 @@ class Context extends _$jni.JObject { /// from: `static public final java.lang.String WINDOW_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get WINDOW_SERVICE => - _id_WINDOW_SERVICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get WINDOW_SERVICE => + _id_WINDOW_SERVICE.get(_class, const jni$_.JStringNullableType()); static final _id_getAssets = _class.instanceMethodId( r'getAssets', r'()Landroid/content/res/AssetManager;', ); - static final _getAssets = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getAssets = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract android.content.res.AssetManager getAssets()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getAssets() { - return _getAssets(reference.pointer, _id_getAssets as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + jni$_.JObject? getAssets() { + return _getAssets(reference.pointer, _id_getAssets as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getResources = _class.instanceMethodId( @@ -4172,24 +4738,24 @@ class Context extends _$jni.JObject { r'()Landroid/content/res/Resources;', ); - static final _getResources = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getResources = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract android.content.res.Resources getResources()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getResources() { + jni$_.JObject? getResources() { return _getResources( - reference.pointer, _id_getResources as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getResources as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getPackageManager = _class.instanceMethodId( @@ -4197,24 +4763,24 @@ class Context extends _$jni.JObject { r'()Landroid/content/pm/PackageManager;', ); - static final _getPackageManager = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getPackageManager = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract android.content.pm.PackageManager getPackageManager()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getPackageManager() { + jni$_.JObject? getPackageManager() { return _getPackageManager( - reference.pointer, _id_getPackageManager as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getPackageManager as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getContentResolver = _class.instanceMethodId( @@ -4222,24 +4788,24 @@ class Context extends _$jni.JObject { r'()Landroid/content/ContentResolver;', ); - static final _getContentResolver = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getContentResolver = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract android.content.ContentResolver getContentResolver()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getContentResolver() { + jni$_.JObject? getContentResolver() { return _getContentResolver( - reference.pointer, _id_getContentResolver as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getContentResolver as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getMainLooper = _class.instanceMethodId( @@ -4247,24 +4813,24 @@ class Context extends _$jni.JObject { r'()Landroid/os/Looper;', ); - static final _getMainLooper = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getMainLooper = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract android.os.Looper getMainLooper()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getMainLooper() { + jni$_.JObject? getMainLooper() { return _getMainLooper( - reference.pointer, _id_getMainLooper as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getMainLooper as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getMainExecutor = _class.instanceMethodId( @@ -4272,24 +4838,24 @@ class Context extends _$jni.JObject { r'()Ljava/util/concurrent/Executor;', ); - static final _getMainExecutor = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getMainExecutor = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.util.concurrent.Executor getMainExecutor()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getMainExecutor() { + jni$_.JObject? getMainExecutor() { return _getMainExecutor( - reference.pointer, _id_getMainExecutor as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getMainExecutor as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getApplicationContext = _class.instanceMethodId( @@ -4297,24 +4863,24 @@ class Context extends _$jni.JObject { r'()Landroid/content/Context;', ); - static final _getApplicationContext = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getApplicationContext = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract android.content.Context getApplicationContext()` /// The returned object must be released after use, by calling the [release] method. - Context getApplicationContext() { + Context? getApplicationContext() { return _getApplicationContext( - reference.pointer, _id_getApplicationContext as _$jni.JMethodIDPtr) - .object(const $Context$Type()); + reference.pointer, _id_getApplicationContext as jni$_.JMethodIDPtr) + .object(const $Context$NullableType()); } static final _id_registerComponentCallbacks = _class.instanceMethodId( @@ -4323,25 +4889,27 @@ class Context extends _$jni.JObject { ); static final _registerComponentCallbacks = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void registerComponentCallbacks(android.content.ComponentCallbacks componentCallbacks)` void registerComponentCallbacks( - _$jni.JObject componentCallbacks, + jni$_.JObject? componentCallbacks, ) { + final _$componentCallbacks = + componentCallbacks?.reference ?? jni$_.jNullReference; _registerComponentCallbacks( reference.pointer, - _id_registerComponentCallbacks as _$jni.JMethodIDPtr, - componentCallbacks.reference.pointer) + _id_registerComponentCallbacks as jni$_.JMethodIDPtr, + _$componentCallbacks.pointer) .check(); } @@ -4351,25 +4919,27 @@ class Context extends _$jni.JObject { ); static final _unregisterComponentCallbacks = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void unregisterComponentCallbacks(android.content.ComponentCallbacks componentCallbacks)` void unregisterComponentCallbacks( - _$jni.JObject componentCallbacks, + jni$_.JObject? componentCallbacks, ) { + final _$componentCallbacks = + componentCallbacks?.reference ?? jni$_.jNullReference; _unregisterComponentCallbacks( reference.pointer, - _id_unregisterComponentCallbacks as _$jni.JMethodIDPtr, - componentCallbacks.reference.pointer) + _id_unregisterComponentCallbacks as jni$_.JMethodIDPtr, + _$componentCallbacks.pointer) .check(); } @@ -4378,23 +4948,23 @@ class Context extends _$jni.JObject { r'(I)Ljava/lang/CharSequence;', ); - static final _getText = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') + static final _getText = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final java.lang.CharSequence getText(int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getText( + jni$_.JObject? getText( int i, ) { - return _getText(reference.pointer, _id_getText as _$jni.JMethodIDPtr, i) - .object(const _$jni.JObjectType()); + return _getText(reference.pointer, _id_getText as jni$_.JMethodIDPtr, i) + .object(const jni$_.JObjectNullableType()); } static final _id_getString = _class.instanceMethodId( @@ -4402,23 +4972,23 @@ class Context extends _$jni.JObject { r'(I)Ljava/lang/String;', ); - static final _getString = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') + static final _getString = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final java.lang.String getString(int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getString( + jni$_.JString? getString( int i, ) { - return _getString(reference.pointer, _id_getString as _$jni.JMethodIDPtr, i) - .object(const _$jni.JStringType()); + return _getString(reference.pointer, _id_getString as jni$_.JMethodIDPtr, i) + .object(const jni$_.JStringNullableType()); } static final _id_getString$1 = _class.instanceMethodId( @@ -4426,27 +4996,28 @@ class Context extends _$jni.JObject { r'(I[Ljava/lang/Object;)Ljava/lang/String;', ); - static final _getString$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _getString$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public final java.lang.String getString(int i, java.lang.Object[] objects)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getString$1( + jni$_.JString? getString$1( int i, - _$jni.JArray<_$jni.JObject> objects, + jni$_.JArray? objects, ) { + final _$objects = objects?.reference ?? jni$_.jNullReference; return _getString$1(reference.pointer, - _id_getString$1 as _$jni.JMethodIDPtr, i, objects.reference.pointer) - .object(const _$jni.JStringType()); + _id_getString$1 as jni$_.JMethodIDPtr, i, _$objects.pointer) + .object(const jni$_.JStringNullableType()); } static final _id_getColor = _class.instanceMethodId( @@ -4454,21 +5025,21 @@ class Context extends _$jni.JObject { r'(I)I', ); - static final _getColor = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallIntMethod') + static final _getColor = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final int getColor(int i)` int getColor( int i, ) { - return _getColor(reference.pointer, _id_getColor as _$jni.JMethodIDPtr, i) + return _getColor(reference.pointer, _id_getColor as jni$_.JMethodIDPtr, i) .integer; } @@ -4477,24 +5048,24 @@ class Context extends _$jni.JObject { r'(I)Landroid/graphics/drawable/Drawable;', ); - static final _getDrawable = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') + static final _getDrawable = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final android.graphics.drawable.Drawable getDrawable(int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getDrawable( + jni$_.JObject? getDrawable( int i, ) { return _getDrawable( - reference.pointer, _id_getDrawable as _$jni.JMethodIDPtr, i) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getDrawable as jni$_.JMethodIDPtr, i) + .object(const jni$_.JObjectNullableType()); } static final _id_getColorStateList = _class.instanceMethodId( @@ -4502,24 +5073,24 @@ class Context extends _$jni.JObject { r'(I)Landroid/content/res/ColorStateList;', ); - static final _getColorStateList = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') + static final _getColorStateList = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final android.content.res.ColorStateList getColorStateList(int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getColorStateList( + jni$_.JObject? getColorStateList( int i, ) { return _getColorStateList( - reference.pointer, _id_getColorStateList as _$jni.JMethodIDPtr, i) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getColorStateList as jni$_.JMethodIDPtr, i) + .object(const jni$_.JObjectNullableType()); } static final _id_setTheme = _class.instanceMethodId( @@ -4527,21 +5098,21 @@ class Context extends _$jni.JObject { r'(I)V', ); - static final _setTheme = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setTheme = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public abstract void setTheme(int i)` void setTheme( int i, ) { - _setTheme(reference.pointer, _id_setTheme as _$jni.JMethodIDPtr, i).check(); + _setTheme(reference.pointer, _id_setTheme as jni$_.JMethodIDPtr, i).check(); } static final _id_getTheme = _class.instanceMethodId( @@ -4549,23 +5120,23 @@ class Context extends _$jni.JObject { r'()Landroid/content/res/Resources$Theme;', ); - static final _getTheme = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getTheme = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract android.content.res.Resources$Theme getTheme()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getTheme() { - return _getTheme(reference.pointer, _id_getTheme as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + jni$_.JObject? getTheme() { + return _getTheme(reference.pointer, _id_getTheme as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_obtainStyledAttributes = _class.instanceMethodId( @@ -4573,27 +5144,26 @@ class Context extends _$jni.JObject { r'([I)Landroid/content/res/TypedArray;', ); - static final _obtainStyledAttributes = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _obtainStyledAttributes = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final android.content.res.TypedArray obtainStyledAttributes(int[] is)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject obtainStyledAttributes( - _$jni.JArray<_$jni.jint> is$, + jni$_.JObject? obtainStyledAttributes( + jni$_.JIntArray? is$, ) { - return _obtainStyledAttributes( - reference.pointer, - _id_obtainStyledAttributes as _$jni.JMethodIDPtr, - is$.reference.pointer) - .object(const _$jni.JObjectType()); + final _$is$ = is$?.reference ?? jni$_.jNullReference; + return _obtainStyledAttributes(reference.pointer, + _id_obtainStyledAttributes as jni$_.JMethodIDPtr, _$is$.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_obtainStyledAttributes$1 = _class.instanceMethodId( @@ -4601,30 +5171,31 @@ class Context extends _$jni.JObject { r'(I[I)Landroid/content/res/TypedArray;', ); - static final _obtainStyledAttributes$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _obtainStyledAttributes$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public final android.content.res.TypedArray obtainStyledAttributes(int i, int[] is)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject obtainStyledAttributes$1( + jni$_.JObject? obtainStyledAttributes$1( int i, - _$jni.JArray<_$jni.jint> is$, + jni$_.JIntArray? is$, ) { + final _$is$ = is$?.reference ?? jni$_.jNullReference; return _obtainStyledAttributes$1( reference.pointer, - _id_obtainStyledAttributes$1 as _$jni.JMethodIDPtr, + _id_obtainStyledAttributes$1 as jni$_.JMethodIDPtr, i, - is$.reference.pointer) - .object(const _$jni.JObjectType()); + _$is$.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_obtainStyledAttributes$2 = _class.instanceMethodId( @@ -4632,35 +5203,37 @@ class Context extends _$jni.JObject { r'(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;', ); - static final _obtainStyledAttributes$2 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _obtainStyledAttributes$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public final android.content.res.TypedArray obtainStyledAttributes(android.util.AttributeSet attributeSet, int[] is)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject obtainStyledAttributes$2( - _$jni.JObject attributeSet, - _$jni.JArray<_$jni.jint> is$, + jni$_.JObject? obtainStyledAttributes$2( + jni$_.JObject? attributeSet, + jni$_.JIntArray? is$, ) { + final _$attributeSet = attributeSet?.reference ?? jni$_.jNullReference; + final _$is$ = is$?.reference ?? jni$_.jNullReference; return _obtainStyledAttributes$2( reference.pointer, - _id_obtainStyledAttributes$2 as _$jni.JMethodIDPtr, - attributeSet.reference.pointer, - is$.reference.pointer) - .object(const _$jni.JObjectType()); + _id_obtainStyledAttributes$2 as jni$_.JMethodIDPtr, + _$attributeSet.pointer, + _$is$.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_obtainStyledAttributes$3 = _class.instanceMethodId( @@ -4668,43 +5241,45 @@ class Context extends _$jni.JObject { r'(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;', ); - static final _obtainStyledAttributes$3 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _obtainStyledAttributes$3 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32 + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int, int)>(); /// from: `public final android.content.res.TypedArray obtainStyledAttributes(android.util.AttributeSet attributeSet, int[] is, int i, int i1)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject obtainStyledAttributes$3( - _$jni.JObject attributeSet, - _$jni.JArray<_$jni.jint> is$, + jni$_.JObject? obtainStyledAttributes$3( + jni$_.JObject? attributeSet, + jni$_.JIntArray? is$, int i, int i1, ) { + final _$attributeSet = attributeSet?.reference ?? jni$_.jNullReference; + final _$is$ = is$?.reference ?? jni$_.jNullReference; return _obtainStyledAttributes$3( reference.pointer, - _id_obtainStyledAttributes$3 as _$jni.JMethodIDPtr, - attributeSet.reference.pointer, - is$.reference.pointer, + _id_obtainStyledAttributes$3 as jni$_.JMethodIDPtr, + _$attributeSet.pointer, + _$is$.pointer, i, i1) - .object(const _$jni.JObjectType()); + .object(const jni$_.JObjectNullableType()); } static final _id_getClassLoader = _class.instanceMethodId( @@ -4712,24 +5287,24 @@ class Context extends _$jni.JObject { r'()Ljava/lang/ClassLoader;', ); - static final _getClassLoader = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getClassLoader = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.lang.ClassLoader getClassLoader()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getClassLoader() { + jni$_.JObject? getClassLoader() { return _getClassLoader( - reference.pointer, _id_getClassLoader as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getClassLoader as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getPackageName = _class.instanceMethodId( @@ -4737,24 +5312,24 @@ class Context extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _getPackageName = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getPackageName = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.lang.String getPackageName()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getPackageName() { + jni$_.JString? getPackageName() { return _getPackageName( - reference.pointer, _id_getPackageName as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + reference.pointer, _id_getPackageName as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_getOpPackageName = _class.instanceMethodId( @@ -4762,24 +5337,24 @@ class Context extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _getOpPackageName = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getOpPackageName = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String getOpPackageName()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getOpPackageName() { + jni$_.JString? getOpPackageName() { return _getOpPackageName( - reference.pointer, _id_getOpPackageName as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + reference.pointer, _id_getOpPackageName as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_getAttributionTag = _class.instanceMethodId( @@ -4787,24 +5362,24 @@ class Context extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _getAttributionTag = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getAttributionTag = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String getAttributionTag()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getAttributionTag() { + jni$_.JString? getAttributionTag() { return _getAttributionTag( - reference.pointer, _id_getAttributionTag as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + reference.pointer, _id_getAttributionTag as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_getAttributionSource = _class.instanceMethodId( @@ -4812,24 +5387,24 @@ class Context extends _$jni.JObject { r'()Landroid/content/AttributionSource;', ); - static final _getAttributionSource = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getAttributionSource = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.content.AttributionSource getAttributionSource()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getAttributionSource() { + jni$_.JObject? getAttributionSource() { return _getAttributionSource( - reference.pointer, _id_getAttributionSource as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getAttributionSource as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getParams = _class.instanceMethodId( @@ -4837,23 +5412,23 @@ class Context extends _$jni.JObject { r'()Landroid/content/ContextParams;', ); - static final _getParams = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getParams = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.content.ContextParams getParams()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getParams() { - return _getParams(reference.pointer, _id_getParams as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + jni$_.JObject? getParams() { + return _getParams(reference.pointer, _id_getParams as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getApplicationInfo = _class.instanceMethodId( @@ -4861,24 +5436,24 @@ class Context extends _$jni.JObject { r'()Landroid/content/pm/ApplicationInfo;', ); - static final _getApplicationInfo = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getApplicationInfo = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract android.content.pm.ApplicationInfo getApplicationInfo()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getApplicationInfo() { + jni$_.JObject? getApplicationInfo() { return _getApplicationInfo( - reference.pointer, _id_getApplicationInfo as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getApplicationInfo as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getPackageResourcePath = _class.instanceMethodId( @@ -4886,24 +5461,24 @@ class Context extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _getPackageResourcePath = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getPackageResourcePath = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.lang.String getPackageResourcePath()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getPackageResourcePath() { + jni$_.JString? getPackageResourcePath() { return _getPackageResourcePath( - reference.pointer, _id_getPackageResourcePath as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + reference.pointer, _id_getPackageResourcePath as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_getPackageCodePath = _class.instanceMethodId( @@ -4911,24 +5486,24 @@ class Context extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _getPackageCodePath = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getPackageCodePath = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.lang.String getPackageCodePath()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getPackageCodePath() { + jni$_.JString? getPackageCodePath() { return _getPackageCodePath( - reference.pointer, _id_getPackageCodePath as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + reference.pointer, _id_getPackageCodePath as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_getSharedPreferences = _class.instanceMethodId( @@ -4936,30 +5511,28 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;I)Landroid/content/SharedPreferences;', ); - static final _getSharedPreferences = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _getSharedPreferences = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public abstract android.content.SharedPreferences getSharedPreferences(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getSharedPreferences( - _$jni.JString string, + jni$_.JObject? getSharedPreferences( + jni$_.JString? string, int i, ) { - return _getSharedPreferences( - reference.pointer, - _id_getSharedPreferences as _$jni.JMethodIDPtr, - string.reference.pointer, - i) - .object(const _$jni.JObjectType()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getSharedPreferences(reference.pointer, + _id_getSharedPreferences as jni$_.JMethodIDPtr, _$string.pointer, i) + .object(const jni$_.JObjectNullableType()); } static final _id_moveSharedPreferencesFrom = _class.instanceMethodId( @@ -4967,33 +5540,35 @@ class Context extends _$jni.JObject { r'(Landroid/content/Context;Ljava/lang/String;)Z', ); - static final _moveSharedPreferencesFrom = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _moveSharedPreferencesFrom = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract boolean moveSharedPreferencesFrom(android.content.Context context, java.lang.String string)` bool moveSharedPreferencesFrom( - Context context, - _$jni.JString string, + Context? context, + jni$_.JString? string, ) { + final _$context = context?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; return _moveSharedPreferencesFrom( reference.pointer, - _id_moveSharedPreferencesFrom as _$jni.JMethodIDPtr, - context.reference.pointer, - string.reference.pointer) + _id_moveSharedPreferencesFrom as jni$_.JMethodIDPtr, + _$context.pointer, + _$string.pointer) .boolean; } @@ -5002,25 +5577,24 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;)Z', ); - static final _deleteSharedPreferences = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _deleteSharedPreferences = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract boolean deleteSharedPreferences(java.lang.String string)` bool deleteSharedPreferences( - _$jni.JString string, + jni$_.JString? string, ) { - return _deleteSharedPreferences( - reference.pointer, - _id_deleteSharedPreferences as _$jni.JMethodIDPtr, - string.reference.pointer) + final _$string = string?.reference ?? jni$_.jNullReference; + return _deleteSharedPreferences(reference.pointer, + _id_deleteSharedPreferences as jni$_.JMethodIDPtr, _$string.pointer) .boolean; } @@ -5029,25 +5603,26 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;)Ljava/io/FileInputStream;', ); - static final _openFileInput = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _openFileInput = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract java.io.FileInputStream openFileInput(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject openFileInput( - _$jni.JString string, + jni$_.JObject? openFileInput( + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _openFileInput(reference.pointer, - _id_openFileInput as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const _$jni.JObjectType()); + _id_openFileInput as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_openFileOutput = _class.instanceMethodId( @@ -5055,30 +5630,28 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;I)Ljava/io/FileOutputStream;', ); - static final _openFileOutput = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _openFileOutput = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public abstract java.io.FileOutputStream openFileOutput(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject openFileOutput( - _$jni.JString string, + jni$_.JObject? openFileOutput( + jni$_.JString? string, int i, ) { - return _openFileOutput( - reference.pointer, - _id_openFileOutput as _$jni.JMethodIDPtr, - string.reference.pointer, - i) - .object(const _$jni.JObjectType()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _openFileOutput(reference.pointer, + _id_openFileOutput as jni$_.JMethodIDPtr, _$string.pointer, i) + .object(const jni$_.JObjectNullableType()); } static final _id_deleteFile = _class.instanceMethodId( @@ -5086,23 +5659,24 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;)Z', ); - static final _deleteFile = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _deleteFile = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract boolean deleteFile(java.lang.String string)` bool deleteFile( - _$jni.JString string, + jni$_.JString? string, ) { - return _deleteFile(reference.pointer, _id_deleteFile as _$jni.JMethodIDPtr, - string.reference.pointer) + final _$string = string?.reference ?? jni$_.jNullReference; + return _deleteFile(reference.pointer, _id_deleteFile as jni$_.JMethodIDPtr, + _$string.pointer) .boolean; } @@ -5111,27 +5685,26 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;)Ljava/io/File;', ); - static final _getFileStreamPath = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getFileStreamPath = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract java.io.File getFileStreamPath(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getFileStreamPath( - _$jni.JString string, + jni$_.JObject? getFileStreamPath( + jni$_.JString? string, ) { - return _getFileStreamPath( - reference.pointer, - _id_getFileStreamPath as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JObjectType()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getFileStreamPath(reference.pointer, + _id_getFileStreamPath as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_getDataDir = _class.instanceMethodId( @@ -5139,23 +5712,23 @@ class Context extends _$jni.JObject { r'()Ljava/io/File;', ); - static final _getDataDir = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getDataDir = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.io.File getDataDir()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getDataDir() { - return _getDataDir(reference.pointer, _id_getDataDir as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + jni$_.JObject? getDataDir() { + return _getDataDir(reference.pointer, _id_getDataDir as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getFilesDir = _class.instanceMethodId( @@ -5163,24 +5736,24 @@ class Context extends _$jni.JObject { r'()Ljava/io/File;', ); - static final _getFilesDir = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getFilesDir = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.io.File getFilesDir()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getFilesDir() { + jni$_.JObject? getFilesDir() { return _getFilesDir( - reference.pointer, _id_getFilesDir as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getFilesDir as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getNoBackupFilesDir = _class.instanceMethodId( @@ -5188,24 +5761,24 @@ class Context extends _$jni.JObject { r'()Ljava/io/File;', ); - static final _getNoBackupFilesDir = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getNoBackupFilesDir = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.io.File getNoBackupFilesDir()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getNoBackupFilesDir() { + jni$_.JObject? getNoBackupFilesDir() { return _getNoBackupFilesDir( - reference.pointer, _id_getNoBackupFilesDir as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getNoBackupFilesDir as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getExternalFilesDir = _class.instanceMethodId( @@ -5213,27 +5786,26 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;)Ljava/io/File;', ); - static final _getExternalFilesDir = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getExternalFilesDir = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract java.io.File getExternalFilesDir(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getExternalFilesDir( - _$jni.JString string, + jni$_.JObject? getExternalFilesDir( + jni$_.JString? string, ) { - return _getExternalFilesDir( - reference.pointer, - _id_getExternalFilesDir as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JObjectType()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getExternalFilesDir(reference.pointer, + _id_getExternalFilesDir as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_getExternalFilesDirs = _class.instanceMethodId( @@ -5241,27 +5813,28 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;)[Ljava/io/File;', ); - static final _getExternalFilesDirs = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getExternalFilesDirs = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract java.io.File[] getExternalFilesDirs(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.JObject> getExternalFilesDirs( - _$jni.JString string, + jni$_.JArray? getExternalFilesDirs( + jni$_.JString? string, ) { - return _getExternalFilesDirs( - reference.pointer, - _id_getExternalFilesDirs as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JArrayType(_$jni.JObjectType())); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getExternalFilesDirs(reference.pointer, + _id_getExternalFilesDirs as jni$_.JMethodIDPtr, _$string.pointer) + .object?>( + const jni$_.JArrayNullableType( + jni$_.JObjectNullableType())); } static final _id_getObbDir = _class.instanceMethodId( @@ -5269,23 +5842,23 @@ class Context extends _$jni.JObject { r'()Ljava/io/File;', ); - static final _getObbDir = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getObbDir = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.io.File getObbDir()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getObbDir() { - return _getObbDir(reference.pointer, _id_getObbDir as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + jni$_.JObject? getObbDir() { + return _getObbDir(reference.pointer, _id_getObbDir as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getObbDirs = _class.instanceMethodId( @@ -5293,23 +5866,25 @@ class Context extends _$jni.JObject { r'()[Ljava/io/File;', ); - static final _getObbDirs = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getObbDirs = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.io.File[] getObbDirs()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.JObject> getObbDirs() { - return _getObbDirs(reference.pointer, _id_getObbDirs as _$jni.JMethodIDPtr) - .object(const _$jni.JArrayType(_$jni.JObjectType())); + jni$_.JArray? getObbDirs() { + return _getObbDirs(reference.pointer, _id_getObbDirs as jni$_.JMethodIDPtr) + .object?>( + const jni$_.JArrayNullableType( + jni$_.JObjectNullableType())); } static final _id_getCacheDir = _class.instanceMethodId( @@ -5317,24 +5892,24 @@ class Context extends _$jni.JObject { r'()Ljava/io/File;', ); - static final _getCacheDir = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getCacheDir = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.io.File getCacheDir()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getCacheDir() { + jni$_.JObject? getCacheDir() { return _getCacheDir( - reference.pointer, _id_getCacheDir as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getCacheDir as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getCodeCacheDir = _class.instanceMethodId( @@ -5342,24 +5917,24 @@ class Context extends _$jni.JObject { r'()Ljava/io/File;', ); - static final _getCodeCacheDir = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getCodeCacheDir = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.io.File getCodeCacheDir()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getCodeCacheDir() { + jni$_.JObject? getCodeCacheDir() { return _getCodeCacheDir( - reference.pointer, _id_getCodeCacheDir as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getCodeCacheDir as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getExternalCacheDir = _class.instanceMethodId( @@ -5367,24 +5942,24 @@ class Context extends _$jni.JObject { r'()Ljava/io/File;', ); - static final _getExternalCacheDir = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getExternalCacheDir = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.io.File getExternalCacheDir()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getExternalCacheDir() { + jni$_.JObject? getExternalCacheDir() { return _getExternalCacheDir( - reference.pointer, _id_getExternalCacheDir as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getExternalCacheDir as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getExternalCacheDirs = _class.instanceMethodId( @@ -5392,24 +5967,26 @@ class Context extends _$jni.JObject { r'()[Ljava/io/File;', ); - static final _getExternalCacheDirs = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getExternalCacheDirs = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.io.File[] getExternalCacheDirs()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.JObject> getExternalCacheDirs() { + jni$_.JArray? getExternalCacheDirs() { return _getExternalCacheDirs( - reference.pointer, _id_getExternalCacheDirs as _$jni.JMethodIDPtr) - .object(const _$jni.JArrayType(_$jni.JObjectType())); + reference.pointer, _id_getExternalCacheDirs as jni$_.JMethodIDPtr) + .object?>( + const jni$_.JArrayNullableType( + jni$_.JObjectNullableType())); } static final _id_getExternalMediaDirs = _class.instanceMethodId( @@ -5417,24 +5994,26 @@ class Context extends _$jni.JObject { r'()[Ljava/io/File;', ); - static final _getExternalMediaDirs = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getExternalMediaDirs = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.io.File[] getExternalMediaDirs()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.JObject> getExternalMediaDirs() { + jni$_.JArray? getExternalMediaDirs() { return _getExternalMediaDirs( - reference.pointer, _id_getExternalMediaDirs as _$jni.JMethodIDPtr) - .object(const _$jni.JArrayType(_$jni.JObjectType())); + reference.pointer, _id_getExternalMediaDirs as jni$_.JMethodIDPtr) + .object?>( + const jni$_.JArrayNullableType( + jni$_.JObjectNullableType())); } static final _id_fileList = _class.instanceMethodId( @@ -5442,23 +6021,25 @@ class Context extends _$jni.JObject { r'()[Ljava/lang/String;', ); - static final _fileList = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _fileList = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.lang.String[] fileList()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.JString> fileList() { - return _fileList(reference.pointer, _id_fileList as _$jni.JMethodIDPtr) - .object(const _$jni.JArrayType(_$jni.JStringType())); + jni$_.JArray? fileList() { + return _fileList(reference.pointer, _id_fileList as jni$_.JMethodIDPtr) + .object?>( + const jni$_.JArrayNullableType( + jni$_.JStringNullableType())); } static final _id_getDir = _class.instanceMethodId( @@ -5466,27 +6047,28 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;I)Ljava/io/File;', ); - static final _getDir = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _getDir = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public abstract java.io.File getDir(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getDir( - _$jni.JString string, + jni$_.JObject? getDir( + jni$_.JString? string, int i, ) { - return _getDir(reference.pointer, _id_getDir as _$jni.JMethodIDPtr, - string.reference.pointer, i) - .object(const _$jni.JObjectType()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getDir(reference.pointer, _id_getDir as jni$_.JMethodIDPtr, + _$string.pointer, i) + .object(const jni$_.JObjectNullableType()); } static final _id_openOrCreateDatabase = _class.instanceMethodId( @@ -5494,39 +6076,41 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;ILandroid/database/sqlite/SQLiteDatabase$CursorFactory;)Landroid/database/sqlite/SQLiteDatabase;', ); - static final _openOrCreateDatabase = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _openOrCreateDatabase = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String string, int i, android.database.sqlite.SQLiteDatabase$CursorFactory cursorFactory)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject openOrCreateDatabase( - _$jni.JString string, + jni$_.JObject? openOrCreateDatabase( + jni$_.JString? string, int i, - _$jni.JObject cursorFactory, + jni$_.JObject? cursorFactory, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$cursorFactory = cursorFactory?.reference ?? jni$_.jNullReference; return _openOrCreateDatabase( reference.pointer, - _id_openOrCreateDatabase as _$jni.JMethodIDPtr, - string.reference.pointer, + _id_openOrCreateDatabase as jni$_.JMethodIDPtr, + _$string.pointer, i, - cursorFactory.reference.pointer) - .object(const _$jni.JObjectType()); + _$cursorFactory.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_openOrCreateDatabase$1 = _class.instanceMethodId( @@ -5534,43 +6118,47 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;ILandroid/database/sqlite/SQLiteDatabase$CursorFactory;Landroid/database/DatabaseErrorHandler;)Landroid/database/sqlite/SQLiteDatabase;', ); - static final _openOrCreateDatabase$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _openOrCreateDatabase$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String string, int i, android.database.sqlite.SQLiteDatabase$CursorFactory cursorFactory, android.database.DatabaseErrorHandler databaseErrorHandler)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject openOrCreateDatabase$1( - _$jni.JString string, + jni$_.JObject? openOrCreateDatabase$1( + jni$_.JString? string, int i, - _$jni.JObject cursorFactory, - _$jni.JObject databaseErrorHandler, + jni$_.JObject? cursorFactory, + jni$_.JObject? databaseErrorHandler, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$cursorFactory = cursorFactory?.reference ?? jni$_.jNullReference; + final _$databaseErrorHandler = + databaseErrorHandler?.reference ?? jni$_.jNullReference; return _openOrCreateDatabase$1( reference.pointer, - _id_openOrCreateDatabase$1 as _$jni.JMethodIDPtr, - string.reference.pointer, + _id_openOrCreateDatabase$1 as jni$_.JMethodIDPtr, + _$string.pointer, i, - cursorFactory.reference.pointer, - databaseErrorHandler.reference.pointer) - .object(const _$jni.JObjectType()); + _$cursorFactory.pointer, + _$databaseErrorHandler.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_moveDatabaseFrom = _class.instanceMethodId( @@ -5578,33 +6166,35 @@ class Context extends _$jni.JObject { r'(Landroid/content/Context;Ljava/lang/String;)Z', ); - static final _moveDatabaseFrom = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _moveDatabaseFrom = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract boolean moveDatabaseFrom(android.content.Context context, java.lang.String string)` bool moveDatabaseFrom( - Context context, - _$jni.JString string, + Context? context, + jni$_.JString? string, ) { + final _$context = context?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; return _moveDatabaseFrom( reference.pointer, - _id_moveDatabaseFrom as _$jni.JMethodIDPtr, - context.reference.pointer, - string.reference.pointer) + _id_moveDatabaseFrom as jni$_.JMethodIDPtr, + _$context.pointer, + _$string.pointer) .boolean; } @@ -5613,23 +6203,24 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;)Z', ); - static final _deleteDatabase = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _deleteDatabase = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract boolean deleteDatabase(java.lang.String string)` bool deleteDatabase( - _$jni.JString string, + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _deleteDatabase(reference.pointer, - _id_deleteDatabase as _$jni.JMethodIDPtr, string.reference.pointer) + _id_deleteDatabase as jni$_.JMethodIDPtr, _$string.pointer) .boolean; } @@ -5638,25 +6229,26 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;)Ljava/io/File;', ); - static final _getDatabasePath = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getDatabasePath = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract java.io.File getDatabasePath(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getDatabasePath( - _$jni.JString string, + jni$_.JObject? getDatabasePath( + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getDatabasePath(reference.pointer, - _id_getDatabasePath as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const _$jni.JObjectType()); + _id_getDatabasePath as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_databaseList = _class.instanceMethodId( @@ -5664,24 +6256,26 @@ class Context extends _$jni.JObject { r'()[Ljava/lang/String;', ); - static final _databaseList = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _databaseList = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract java.lang.String[] databaseList()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.JString> databaseList() { + jni$_.JArray? databaseList() { return _databaseList( - reference.pointer, _id_databaseList as _$jni.JMethodIDPtr) - .object(const _$jni.JArrayType(_$jni.JStringType())); + reference.pointer, _id_databaseList as jni$_.JMethodIDPtr) + .object?>( + const jni$_.JArrayNullableType( + jni$_.JStringNullableType())); } static final _id_getWallpaper = _class.instanceMethodId( @@ -5689,24 +6283,24 @@ class Context extends _$jni.JObject { r'()Landroid/graphics/drawable/Drawable;', ); - static final _getWallpaper = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getWallpaper = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract android.graphics.drawable.Drawable getWallpaper()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getWallpaper() { + jni$_.JObject? getWallpaper() { return _getWallpaper( - reference.pointer, _id_getWallpaper as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getWallpaper as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_peekWallpaper = _class.instanceMethodId( @@ -5714,24 +6308,24 @@ class Context extends _$jni.JObject { r'()Landroid/graphics/drawable/Drawable;', ); - static final _peekWallpaper = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _peekWallpaper = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract android.graphics.drawable.Drawable peekWallpaper()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject peekWallpaper() { + jni$_.JObject? peekWallpaper() { return _peekWallpaper( - reference.pointer, _id_peekWallpaper as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_peekWallpaper as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getWallpaperDesiredMinimumWidth = _class.instanceMethodId( @@ -5740,22 +6334,22 @@ class Context extends _$jni.JObject { ); static final _getWallpaperDesiredMinimumWidth = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract int getWallpaperDesiredMinimumWidth()` int getWallpaperDesiredMinimumWidth() { return _getWallpaperDesiredMinimumWidth(reference.pointer, - _id_getWallpaperDesiredMinimumWidth as _$jni.JMethodIDPtr) + _id_getWallpaperDesiredMinimumWidth as jni$_.JMethodIDPtr) .integer; } @@ -5765,22 +6359,22 @@ class Context extends _$jni.JObject { ); static final _getWallpaperDesiredMinimumHeight = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract int getWallpaperDesiredMinimumHeight()` int getWallpaperDesiredMinimumHeight() { return _getWallpaperDesiredMinimumHeight(reference.pointer, - _id_getWallpaperDesiredMinimumHeight as _$jni.JMethodIDPtr) + _id_getWallpaperDesiredMinimumHeight as jni$_.JMethodIDPtr) .integer; } @@ -5789,23 +6383,24 @@ class Context extends _$jni.JObject { r'(Landroid/graphics/Bitmap;)V', ); - static final _setWallpaper = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setWallpaper = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract void setWallpaper(android.graphics.Bitmap bitmap)` void setWallpaper( - _$jni.JObject bitmap, + jni$_.JObject? bitmap, ) { - _setWallpaper(reference.pointer, _id_setWallpaper as _$jni.JMethodIDPtr, - bitmap.reference.pointer) + final _$bitmap = bitmap?.reference ?? jni$_.jNullReference; + _setWallpaper(reference.pointer, _id_setWallpaper as jni$_.JMethodIDPtr, + _$bitmap.pointer) .check(); } @@ -5814,23 +6409,24 @@ class Context extends _$jni.JObject { r'(Ljava/io/InputStream;)V', ); - static final _setWallpaper$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setWallpaper$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract void setWallpaper(java.io.InputStream inputStream)` void setWallpaper$1( - _$jni.JObject inputStream, + jni$_.JObject? inputStream, ) { - _setWallpaper$1(reference.pointer, _id_setWallpaper$1 as _$jni.JMethodIDPtr, - inputStream.reference.pointer) + final _$inputStream = inputStream?.reference ?? jni$_.jNullReference; + _setWallpaper$1(reference.pointer, _id_setWallpaper$1 as jni$_.JMethodIDPtr, + _$inputStream.pointer) .check(); } @@ -5839,21 +6435,21 @@ class Context extends _$jni.JObject { r'()V', ); - static final _clearWallpaper = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _clearWallpaper = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract void clearWallpaper()` void clearWallpaper() { - _clearWallpaper(reference.pointer, _id_clearWallpaper as _$jni.JMethodIDPtr) + _clearWallpaper(reference.pointer, _id_clearWallpaper as jni$_.JMethodIDPtr) .check(); } @@ -5862,23 +6458,24 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;)V', ); - static final _startActivity = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _startActivity = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract void startActivity(android.content.Intent intent)` void startActivity( - Intent intent, + Intent? intent, ) { - _startActivity(reference.pointer, _id_startActivity as _$jni.JMethodIDPtr, - intent.reference.pointer) + final _$intent = intent?.reference ?? jni$_.jNullReference; + _startActivity(reference.pointer, _id_startActivity as jni$_.JMethodIDPtr, + _$intent.pointer) .check(); } @@ -5887,33 +6484,35 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _startActivity$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startActivity$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void startActivity(android.content.Intent intent, android.os.Bundle bundle)` void startActivity$1( - Intent intent, - _$jni.JObject bundle, + Intent? intent, + jni$_.JObject? bundle, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivity$1( reference.pointer, - _id_startActivity$1 as _$jni.JMethodIDPtr, - intent.reference.pointer, - bundle.reference.pointer) + _id_startActivity$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$bundle.pointer) .check(); } @@ -5922,25 +6521,24 @@ class Context extends _$jni.JObject { r'([Landroid/content/Intent;)V', ); - static final _startActivities = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _startActivities = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract void startActivities(android.content.Intent[] intents)` void startActivities( - _$jni.JArray intents, + jni$_.JArray? intents, ) { - _startActivities( - reference.pointer, - _id_startActivities as _$jni.JMethodIDPtr, - intents.reference.pointer) + final _$intents = intents?.reference ?? jni$_.jNullReference; + _startActivities(reference.pointer, + _id_startActivities as jni$_.JMethodIDPtr, _$intents.pointer) .check(); } @@ -5949,33 +6547,35 @@ class Context extends _$jni.JObject { r'([Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _startActivities$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startActivities$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void startActivities(android.content.Intent[] intents, android.os.Bundle bundle)` void startActivities$1( - _$jni.JArray intents, - _$jni.JObject bundle, + jni$_.JArray? intents, + jni$_.JObject? bundle, ) { + final _$intents = intents?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivities$1( reference.pointer, - _id_startActivities$1 as _$jni.JMethodIDPtr, - intents.reference.pointer, - bundle.reference.pointer) + _id_startActivities$1 as jni$_.JMethodIDPtr, + _$intents.pointer, + _$bundle.pointer) .check(); } @@ -5984,42 +6584,44 @@ class Context extends _$jni.JObject { r'(Landroid/content/IntentSender;Landroid/content/Intent;III)V', ); - static final _startIntentSender = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startIntentSender = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Int32 + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int, int, int)>(); /// from: `public abstract void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2)` void startIntentSender( - _$jni.JObject intentSender, - Intent intent, + jni$_.JObject? intentSender, + Intent? intent, int i, int i1, int i2, ) { + final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; + final _$intent = intent?.reference ?? jni$_.jNullReference; _startIntentSender( reference.pointer, - _id_startIntentSender as _$jni.JMethodIDPtr, - intentSender.reference.pointer, - intent.reference.pointer, + _id_startIntentSender as jni$_.JMethodIDPtr, + _$intentSender.pointer, + _$intent.pointer, i, i1, i2) @@ -6031,49 +6633,52 @@ class Context extends _$jni.JObject { r'(Landroid/content/IntentSender;Landroid/content/Intent;IIILandroid/os/Bundle;)V', ); - static final _startIntentSender$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startIntentSender$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int, int, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public abstract void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2, android.os.Bundle bundle)` void startIntentSender$1( - _$jni.JObject intentSender, - Intent intent, + jni$_.JObject? intentSender, + Intent? intent, int i, int i1, int i2, - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { + final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startIntentSender$1( reference.pointer, - _id_startIntentSender$1 as _$jni.JMethodIDPtr, - intentSender.reference.pointer, - intent.reference.pointer, + _id_startIntentSender$1 as jni$_.JMethodIDPtr, + _$intentSender.pointer, + _$intent.pointer, i, i1, i2, - bundle.reference.pointer) + _$bundle.pointer) .check(); } @@ -6082,23 +6687,24 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;)V', ); - static final _sendBroadcast = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _sendBroadcast = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract void sendBroadcast(android.content.Intent intent)` void sendBroadcast( - Intent intent, + Intent? intent, ) { - _sendBroadcast(reference.pointer, _id_sendBroadcast as _$jni.JMethodIDPtr, - intent.reference.pointer) + final _$intent = intent?.reference ?? jni$_.jNullReference; + _sendBroadcast(reference.pointer, _id_sendBroadcast as jni$_.JMethodIDPtr, + _$intent.pointer) .check(); } @@ -6107,33 +6713,35 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;Ljava/lang/String;)V', ); - static final _sendBroadcast$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _sendBroadcast$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void sendBroadcast(android.content.Intent intent, java.lang.String string)` void sendBroadcast$1( - Intent intent, - _$jni.JString string, + Intent? intent, + jni$_.JString? string, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; _sendBroadcast$1( reference.pointer, - _id_sendBroadcast$1 as _$jni.JMethodIDPtr, - intent.reference.pointer, - string.reference.pointer) + _id_sendBroadcast$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$string.pointer) .check(); } @@ -6144,33 +6752,35 @@ class Context extends _$jni.JObject { ); static final _sendBroadcastWithMultiplePermissions = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void sendBroadcastWithMultiplePermissions(android.content.Intent intent, java.lang.String[] strings)` void sendBroadcastWithMultiplePermissions( - Intent intent, - _$jni.JArray<_$jni.JString> strings, + Intent? intent, + jni$_.JArray? strings, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$strings = strings?.reference ?? jni$_.jNullReference; _sendBroadcastWithMultiplePermissions( reference.pointer, - _id_sendBroadcastWithMultiplePermissions as _$jni.JMethodIDPtr, - intent.reference.pointer, - strings.reference.pointer) + _id_sendBroadcastWithMultiplePermissions as jni$_.JMethodIDPtr, + _$intent.pointer, + _$strings.pointer) .check(); } @@ -6179,33 +6789,35 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;Ljava/lang/String;)V', ); - static final _sendOrderedBroadcast = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _sendOrderedBroadcast = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void sendOrderedBroadcast(android.content.Intent intent, java.lang.String string)` void sendOrderedBroadcast( - Intent intent, - _$jni.JString string, + Intent? intent, + jni$_.JString? string, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; _sendOrderedBroadcast( reference.pointer, - _id_sendOrderedBroadcast as _$jni.JMethodIDPtr, - intent.reference.pointer, - string.reference.pointer) + _id_sendOrderedBroadcast as jni$_.JMethodIDPtr, + _$intent.pointer, + _$string.pointer) .check(); } @@ -6214,53 +6826,60 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;Ljava/lang/String;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V', ); - static final _sendOrderedBroadcast$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _sendOrderedBroadcast$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void sendOrderedBroadcast(android.content.Intent intent, java.lang.String string, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string1, android.os.Bundle bundle)` void sendOrderedBroadcast$1( - Intent intent, - _$jni.JString string, - _$jni.JObject broadcastReceiver, - _$jni.JObject handler, + Intent? intent, + jni$_.JString? string, + jni$_.JObject? broadcastReceiver, + jni$_.JObject? handler, int i, - _$jni.JString string1, - _$jni.JObject bundle, - ) { + jni$_.JString? string1, + jni$_.JObject? bundle, + ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$broadcastReceiver = + broadcastReceiver?.reference ?? jni$_.jNullReference; + final _$handler = handler?.reference ?? jni$_.jNullReference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _sendOrderedBroadcast$1( reference.pointer, - _id_sendOrderedBroadcast$1 as _$jni.JMethodIDPtr, - intent.reference.pointer, - string.reference.pointer, - broadcastReceiver.reference.pointer, - handler.reference.pointer, + _id_sendOrderedBroadcast$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$string.pointer, + _$broadcastReceiver.pointer, + _$handler.pointer, i, - string1.reference.pointer, - bundle.reference.pointer) + _$string1.pointer, + _$bundle.pointer) .check(); } @@ -6269,33 +6888,35 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;Landroid/os/UserHandle;)V', ); - static final _sendBroadcastAsUser = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _sendBroadcastAsUser = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void sendBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle)` void sendBroadcastAsUser( - Intent intent, - _$jni.JObject userHandle, + Intent? intent, + jni$_.JObject? userHandle, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$userHandle = userHandle?.reference ?? jni$_.jNullReference; _sendBroadcastAsUser( reference.pointer, - _id_sendBroadcastAsUser as _$jni.JMethodIDPtr, - intent.reference.pointer, - userHandle.reference.pointer) + _id_sendBroadcastAsUser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$userHandle.pointer) .check(); } @@ -6304,37 +6925,40 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;Landroid/os/UserHandle;Ljava/lang/String;)V', ); - static final _sendBroadcastAsUser$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _sendBroadcastAsUser$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void sendBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle, java.lang.String string)` void sendBroadcastAsUser$1( - Intent intent, - _$jni.JObject userHandle, - _$jni.JString string, + Intent? intent, + jni$_.JObject? userHandle, + jni$_.JString? string, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$userHandle = userHandle?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; _sendBroadcastAsUser$1( reference.pointer, - _id_sendBroadcastAsUser$1 as _$jni.JMethodIDPtr, - intent.reference.pointer, - userHandle.reference.pointer, - string.reference.pointer) + _id_sendBroadcastAsUser$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$userHandle.pointer, + _$string.pointer) .check(); } @@ -6344,57 +6968,65 @@ class Context extends _$jni.JObject { ); static final _sendOrderedBroadcastAsUser = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void sendOrderedBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle, java.lang.String string, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string1, android.os.Bundle bundle)` void sendOrderedBroadcastAsUser( - Intent intent, - _$jni.JObject userHandle, - _$jni.JString string, - _$jni.JObject broadcastReceiver, - _$jni.JObject handler, + Intent? intent, + jni$_.JObject? userHandle, + jni$_.JString? string, + jni$_.JObject? broadcastReceiver, + jni$_.JObject? handler, int i, - _$jni.JString string1, - _$jni.JObject bundle, - ) { + jni$_.JString? string1, + jni$_.JObject? bundle, + ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$userHandle = userHandle?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$broadcastReceiver = + broadcastReceiver?.reference ?? jni$_.jNullReference; + final _$handler = handler?.reference ?? jni$_.jNullReference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _sendOrderedBroadcastAsUser( reference.pointer, - _id_sendOrderedBroadcastAsUser as _$jni.JMethodIDPtr, - intent.reference.pointer, - userHandle.reference.pointer, - string.reference.pointer, - broadcastReceiver.reference.pointer, - handler.reference.pointer, + _id_sendOrderedBroadcastAsUser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$userHandle.pointer, + _$string.pointer, + _$broadcastReceiver.pointer, + _$handler.pointer, i, - string1.reference.pointer, - bundle.reference.pointer) + _$string1.pointer, + _$bundle.pointer) .check(); } @@ -6403,57 +7035,65 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/String;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V', ); - static final _sendOrderedBroadcast$2 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _sendOrderedBroadcast$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void sendOrderedBroadcast(android.content.Intent intent, java.lang.String string, java.lang.String string1, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string2, android.os.Bundle bundle)` void sendOrderedBroadcast$2( - Intent intent, - _$jni.JString string, - _$jni.JString string1, - _$jni.JObject broadcastReceiver, - _$jni.JObject handler, + Intent? intent, + jni$_.JString? string, + jni$_.JString? string1, + jni$_.JObject? broadcastReceiver, + jni$_.JObject? handler, int i, - _$jni.JString string2, - _$jni.JObject bundle, - ) { + jni$_.JString? string2, + jni$_.JObject? bundle, + ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; + final _$broadcastReceiver = + broadcastReceiver?.reference ?? jni$_.jNullReference; + final _$handler = handler?.reference ?? jni$_.jNullReference; + final _$string2 = string2?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _sendOrderedBroadcast$2( reference.pointer, - _id_sendOrderedBroadcast$2 as _$jni.JMethodIDPtr, - intent.reference.pointer, - string.reference.pointer, - string1.reference.pointer, - broadcastReceiver.reference.pointer, - handler.reference.pointer, + _id_sendOrderedBroadcast$2 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$string.pointer, + _$string1.pointer, + _$broadcastReceiver.pointer, + _$handler.pointer, i, - string2.reference.pointer, - bundle.reference.pointer) + _$string2.pointer, + _$bundle.pointer) .check(); } @@ -6462,25 +7102,24 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;)V', ); - static final _sendStickyBroadcast = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _sendStickyBroadcast = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract void sendStickyBroadcast(android.content.Intent intent)` void sendStickyBroadcast( - Intent intent, + Intent? intent, ) { - _sendStickyBroadcast( - reference.pointer, - _id_sendStickyBroadcast as _$jni.JMethodIDPtr, - intent.reference.pointer) + final _$intent = intent?.reference ?? jni$_.jNullReference; + _sendStickyBroadcast(reference.pointer, + _id_sendStickyBroadcast as jni$_.JMethodIDPtr, _$intent.pointer) .check(); } @@ -6489,33 +7128,35 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _sendStickyBroadcast$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _sendStickyBroadcast$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void sendStickyBroadcast(android.content.Intent intent, android.os.Bundle bundle)` void sendStickyBroadcast$1( - Intent intent, - _$jni.JObject bundle, + Intent? intent, + jni$_.JObject? bundle, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _sendStickyBroadcast$1( reference.pointer, - _id_sendStickyBroadcast$1 as _$jni.JMethodIDPtr, - intent.reference.pointer, - bundle.reference.pointer) + _id_sendStickyBroadcast$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$bundle.pointer) .check(); } @@ -6525,49 +7166,55 @@ class Context extends _$jni.JObject { ); static final _sendStickyOrderedBroadcast = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void sendStickyOrderedBroadcast(android.content.Intent intent, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string, android.os.Bundle bundle)` void sendStickyOrderedBroadcast( - Intent intent, - _$jni.JObject broadcastReceiver, - _$jni.JObject handler, + Intent? intent, + jni$_.JObject? broadcastReceiver, + jni$_.JObject? handler, int i, - _$jni.JString string, - _$jni.JObject bundle, - ) { + jni$_.JString? string, + jni$_.JObject? bundle, + ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$broadcastReceiver = + broadcastReceiver?.reference ?? jni$_.jNullReference; + final _$handler = handler?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _sendStickyOrderedBroadcast( reference.pointer, - _id_sendStickyOrderedBroadcast as _$jni.JMethodIDPtr, - intent.reference.pointer, - broadcastReceiver.reference.pointer, - handler.reference.pointer, + _id_sendStickyOrderedBroadcast as jni$_.JMethodIDPtr, + _$intent.pointer, + _$broadcastReceiver.pointer, + _$handler.pointer, i, - string.reference.pointer, - bundle.reference.pointer) + _$string.pointer, + _$bundle.pointer) .check(); } @@ -6576,25 +7223,24 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;)V', ); - static final _removeStickyBroadcast = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _removeStickyBroadcast = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract void removeStickyBroadcast(android.content.Intent intent)` void removeStickyBroadcast( - Intent intent, + Intent? intent, ) { - _removeStickyBroadcast( - reference.pointer, - _id_removeStickyBroadcast as _$jni.JMethodIDPtr, - intent.reference.pointer) + final _$intent = intent?.reference ?? jni$_.jNullReference; + _removeStickyBroadcast(reference.pointer, + _id_removeStickyBroadcast as jni$_.JMethodIDPtr, _$intent.pointer) .check(); } @@ -6603,33 +7249,35 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;Landroid/os/UserHandle;)V', ); - static final _sendStickyBroadcastAsUser = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _sendStickyBroadcastAsUser = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void sendStickyBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle)` void sendStickyBroadcastAsUser( - Intent intent, - _$jni.JObject userHandle, + Intent? intent, + jni$_.JObject? userHandle, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$userHandle = userHandle?.reference ?? jni$_.jNullReference; _sendStickyBroadcastAsUser( reference.pointer, - _id_sendStickyBroadcastAsUser as _$jni.JMethodIDPtr, - intent.reference.pointer, - userHandle.reference.pointer) + _id_sendStickyBroadcastAsUser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$userHandle.pointer) .check(); } @@ -6639,53 +7287,60 @@ class Context extends _$jni.JObject { ); static final _sendStickyOrderedBroadcastAsUser = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void sendStickyOrderedBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string, android.os.Bundle bundle)` void sendStickyOrderedBroadcastAsUser( - Intent intent, - _$jni.JObject userHandle, - _$jni.JObject broadcastReceiver, - _$jni.JObject handler, + Intent? intent, + jni$_.JObject? userHandle, + jni$_.JObject? broadcastReceiver, + jni$_.JObject? handler, int i, - _$jni.JString string, - _$jni.JObject bundle, - ) { + jni$_.JString? string, + jni$_.JObject? bundle, + ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$userHandle = userHandle?.reference ?? jni$_.jNullReference; + final _$broadcastReceiver = + broadcastReceiver?.reference ?? jni$_.jNullReference; + final _$handler = handler?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _sendStickyOrderedBroadcastAsUser( reference.pointer, - _id_sendStickyOrderedBroadcastAsUser as _$jni.JMethodIDPtr, - intent.reference.pointer, - userHandle.reference.pointer, - broadcastReceiver.reference.pointer, - handler.reference.pointer, + _id_sendStickyOrderedBroadcastAsUser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$userHandle.pointer, + _$broadcastReceiver.pointer, + _$handler.pointer, i, - string.reference.pointer, - bundle.reference.pointer) + _$string.pointer, + _$bundle.pointer) .check(); } @@ -6695,33 +7350,35 @@ class Context extends _$jni.JObject { ); static final _removeStickyBroadcastAsUser = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void removeStickyBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle)` void removeStickyBroadcastAsUser( - Intent intent, - _$jni.JObject userHandle, + Intent? intent, + jni$_.JObject? userHandle, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$userHandle = userHandle?.reference ?? jni$_.jNullReference; _removeStickyBroadcastAsUser( reference.pointer, - _id_removeStickyBroadcastAsUser as _$jni.JMethodIDPtr, - intent.reference.pointer, - userHandle.reference.pointer) + _id_removeStickyBroadcastAsUser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$userHandle.pointer) .check(); } @@ -6730,35 +7387,38 @@ class Context extends _$jni.JObject { r'(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;', ); - static final _registerReceiver = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _registerReceiver = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter)` /// The returned object must be released after use, by calling the [release] method. - Intent registerReceiver( - _$jni.JObject broadcastReceiver, - _$jni.JObject intentFilter, + Intent? registerReceiver( + jni$_.JObject? broadcastReceiver, + jni$_.JObject? intentFilter, ) { + final _$broadcastReceiver = + broadcastReceiver?.reference ?? jni$_.jNullReference; + final _$intentFilter = intentFilter?.reference ?? jni$_.jNullReference; return _registerReceiver( reference.pointer, - _id_registerReceiver as _$jni.JMethodIDPtr, - broadcastReceiver.reference.pointer, - intentFilter.reference.pointer) - .object(const $Intent$Type()); + _id_registerReceiver as jni$_.JMethodIDPtr, + _$broadcastReceiver.pointer, + _$intentFilter.pointer) + .object(const $Intent$NullableType()); } static final _id_registerReceiver$1 = _class.instanceMethodId( @@ -6766,39 +7426,42 @@ class Context extends _$jni.JObject { r'(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;', ); - static final _registerReceiver$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _registerReceiver$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int)>(); /// from: `public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter, int i)` /// The returned object must be released after use, by calling the [release] method. - Intent registerReceiver$1( - _$jni.JObject broadcastReceiver, - _$jni.JObject intentFilter, + Intent? registerReceiver$1( + jni$_.JObject? broadcastReceiver, + jni$_.JObject? intentFilter, int i, ) { + final _$broadcastReceiver = + broadcastReceiver?.reference ?? jni$_.jNullReference; + final _$intentFilter = intentFilter?.reference ?? jni$_.jNullReference; return _registerReceiver$1( reference.pointer, - _id_registerReceiver$1 as _$jni.JMethodIDPtr, - broadcastReceiver.reference.pointer, - intentFilter.reference.pointer, + _id_registerReceiver$1 as jni$_.JMethodIDPtr, + _$broadcastReceiver.pointer, + _$intentFilter.pointer, i) - .object(const $Intent$Type()); + .object(const $Intent$NullableType()); } static final _id_registerReceiver$2 = _class.instanceMethodId( @@ -6806,43 +7469,48 @@ class Context extends _$jni.JObject { r'(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;)Landroid/content/Intent;', ); - static final _registerReceiver$2 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _registerReceiver$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter, java.lang.String string, android.os.Handler handler)` /// The returned object must be released after use, by calling the [release] method. - Intent registerReceiver$2( - _$jni.JObject broadcastReceiver, - _$jni.JObject intentFilter, - _$jni.JString string, - _$jni.JObject handler, - ) { + Intent? registerReceiver$2( + jni$_.JObject? broadcastReceiver, + jni$_.JObject? intentFilter, + jni$_.JString? string, + jni$_.JObject? handler, + ) { + final _$broadcastReceiver = + broadcastReceiver?.reference ?? jni$_.jNullReference; + final _$intentFilter = intentFilter?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$handler = handler?.reference ?? jni$_.jNullReference; return _registerReceiver$2( reference.pointer, - _id_registerReceiver$2 as _$jni.JMethodIDPtr, - broadcastReceiver.reference.pointer, - intentFilter.reference.pointer, - string.reference.pointer, - handler.reference.pointer) - .object(const $Intent$Type()); + _id_registerReceiver$2 as jni$_.JMethodIDPtr, + _$broadcastReceiver.pointer, + _$intentFilter.pointer, + _$string.pointer, + _$handler.pointer) + .object(const $Intent$NullableType()); } static final _id_registerReceiver$3 = _class.instanceMethodId( @@ -6850,47 +7518,52 @@ class Context extends _$jni.JObject { r'(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;I)Landroid/content/Intent;', ); - static final _registerReceiver$3 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _registerReceiver$3 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int)>(); /// from: `public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter, java.lang.String string, android.os.Handler handler, int i)` /// The returned object must be released after use, by calling the [release] method. - Intent registerReceiver$3( - _$jni.JObject broadcastReceiver, - _$jni.JObject intentFilter, - _$jni.JString string, - _$jni.JObject handler, + Intent? registerReceiver$3( + jni$_.JObject? broadcastReceiver, + jni$_.JObject? intentFilter, + jni$_.JString? string, + jni$_.JObject? handler, int i, ) { + final _$broadcastReceiver = + broadcastReceiver?.reference ?? jni$_.jNullReference; + final _$intentFilter = intentFilter?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$handler = handler?.reference ?? jni$_.jNullReference; return _registerReceiver$3( reference.pointer, - _id_registerReceiver$3 as _$jni.JMethodIDPtr, - broadcastReceiver.reference.pointer, - intentFilter.reference.pointer, - string.reference.pointer, - handler.reference.pointer, + _id_registerReceiver$3 as jni$_.JMethodIDPtr, + _$broadcastReceiver.pointer, + _$intentFilter.pointer, + _$string.pointer, + _$handler.pointer, i) - .object(const $Intent$Type()); + .object(const $Intent$NullableType()); } static final _id_unregisterReceiver = _class.instanceMethodId( @@ -6898,25 +7571,27 @@ class Context extends _$jni.JObject { r'(Landroid/content/BroadcastReceiver;)V', ); - static final _unregisterReceiver = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _unregisterReceiver = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract void unregisterReceiver(android.content.BroadcastReceiver broadcastReceiver)` void unregisterReceiver( - _$jni.JObject broadcastReceiver, + jni$_.JObject? broadcastReceiver, ) { + final _$broadcastReceiver = + broadcastReceiver?.reference ?? jni$_.jNullReference; _unregisterReceiver( reference.pointer, - _id_unregisterReceiver as _$jni.JMethodIDPtr, - broadcastReceiver.reference.pointer) + _id_unregisterReceiver as jni$_.JMethodIDPtr, + _$broadcastReceiver.pointer) .check(); } @@ -6925,25 +7600,26 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;)Landroid/content/ComponentName;', ); - static final _startService = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _startService = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract android.content.ComponentName startService(android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject startService( - Intent intent, + jni$_.JObject? startService( + Intent? intent, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; return _startService(reference.pointer, - _id_startService as _$jni.JMethodIDPtr, intent.reference.pointer) - .object(const _$jni.JObjectType()); + _id_startService as jni$_.JMethodIDPtr, _$intent.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_startForegroundService = _class.instanceMethodId( @@ -6951,27 +7627,26 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;)Landroid/content/ComponentName;', ); - static final _startForegroundService = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _startForegroundService = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract android.content.ComponentName startForegroundService(android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject startForegroundService( - Intent intent, + jni$_.JObject? startForegroundService( + Intent? intent, ) { - return _startForegroundService( - reference.pointer, - _id_startForegroundService as _$jni.JMethodIDPtr, - intent.reference.pointer) - .object(const _$jni.JObjectType()); + final _$intent = intent?.reference ?? jni$_.jNullReference; + return _startForegroundService(reference.pointer, + _id_startForegroundService as jni$_.JMethodIDPtr, _$intent.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_stopService = _class.instanceMethodId( @@ -6979,23 +7654,24 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;)Z', ); - static final _stopService = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _stopService = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract boolean stopService(android.content.Intent intent)` bool stopService( - Intent intent, + Intent? intent, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; return _stopService(reference.pointer, - _id_stopService as _$jni.JMethodIDPtr, intent.reference.pointer) + _id_stopService as jni$_.JMethodIDPtr, _$intent.pointer) .boolean; } @@ -7004,36 +7680,39 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;Landroid/content/ServiceConnection;I)Z', ); - static final _bindService = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _bindService = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int)>(); /// from: `public abstract boolean bindService(android.content.Intent intent, android.content.ServiceConnection serviceConnection, int i)` bool bindService( - Intent intent, - _$jni.JObject serviceConnection, + Intent? intent, + jni$_.JObject? serviceConnection, int i, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$serviceConnection = + serviceConnection?.reference ?? jni$_.jNullReference; return _bindService( reference.pointer, - _id_bindService as _$jni.JMethodIDPtr, - intent.reference.pointer, - serviceConnection.reference.pointer, + _id_bindService as jni$_.JMethodIDPtr, + _$intent.pointer, + _$serviceConnection.pointer, i) .boolean; } @@ -7043,41 +7722,45 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;ILjava/util/concurrent/Executor;Landroid/content/ServiceConnection;)Z', ); - static final _bindService$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _bindService$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public boolean bindService(android.content.Intent intent, int i, java.util.concurrent.Executor executor, android.content.ServiceConnection serviceConnection)` bool bindService$1( - Intent intent, + Intent? intent, int i, - _$jni.JObject executor, - _$jni.JObject serviceConnection, + jni$_.JObject? executor, + jni$_.JObject? serviceConnection, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$executor = executor?.reference ?? jni$_.jNullReference; + final _$serviceConnection = + serviceConnection?.reference ?? jni$_.jNullReference; return _bindService$1( reference.pointer, - _id_bindService$1 as _$jni.JMethodIDPtr, - intent.reference.pointer, + _id_bindService$1 as jni$_.JMethodIDPtr, + _$intent.pointer, i, - executor.reference.pointer, - serviceConnection.reference.pointer) + _$executor.pointer, + _$serviceConnection.pointer) .boolean; } @@ -7086,45 +7769,50 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;ILjava/lang/String;Ljava/util/concurrent/Executor;Landroid/content/ServiceConnection;)Z', ); - static final _bindIsolatedService = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _bindIsolatedService = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public boolean bindIsolatedService(android.content.Intent intent, int i, java.lang.String string, java.util.concurrent.Executor executor, android.content.ServiceConnection serviceConnection)` bool bindIsolatedService( - Intent intent, + Intent? intent, int i, - _$jni.JString string, - _$jni.JObject executor, - _$jni.JObject serviceConnection, - ) { + jni$_.JString? string, + jni$_.JObject? executor, + jni$_.JObject? serviceConnection, + ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$executor = executor?.reference ?? jni$_.jNullReference; + final _$serviceConnection = + serviceConnection?.reference ?? jni$_.jNullReference; return _bindIsolatedService( reference.pointer, - _id_bindIsolatedService as _$jni.JMethodIDPtr, - intent.reference.pointer, + _id_bindIsolatedService as jni$_.JMethodIDPtr, + _$intent.pointer, i, - string.reference.pointer, - executor.reference.pointer, - serviceConnection.reference.pointer) + _$string.pointer, + _$executor.pointer, + _$serviceConnection.pointer) .boolean; } @@ -7133,41 +7821,45 @@ class Context extends _$jni.JObject { r'(Landroid/content/Intent;Landroid/content/ServiceConnection;ILandroid/os/UserHandle;)Z', ); - static final _bindServiceAsUser = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _bindServiceAsUser = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public boolean bindServiceAsUser(android.content.Intent intent, android.content.ServiceConnection serviceConnection, int i, android.os.UserHandle userHandle)` bool bindServiceAsUser( - Intent intent, - _$jni.JObject serviceConnection, + Intent? intent, + jni$_.JObject? serviceConnection, int i, - _$jni.JObject userHandle, + jni$_.JObject? userHandle, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$serviceConnection = + serviceConnection?.reference ?? jni$_.jNullReference; + final _$userHandle = userHandle?.reference ?? jni$_.jNullReference; return _bindServiceAsUser( reference.pointer, - _id_bindServiceAsUser as _$jni.JMethodIDPtr, - intent.reference.pointer, - serviceConnection.reference.pointer, + _id_bindServiceAsUser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$serviceConnection.pointer, i, - userHandle.reference.pointer) + _$userHandle.pointer) .boolean; } @@ -7176,31 +7868,33 @@ class Context extends _$jni.JObject { r'(Landroid/content/ServiceConnection;II)V', ); - static final _updateServiceGroup = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _updateServiceGroup = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32 + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int, int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); /// from: `public void updateServiceGroup(android.content.ServiceConnection serviceConnection, int i, int i1)` void updateServiceGroup( - _$jni.JObject serviceConnection, + jni$_.JObject? serviceConnection, int i, int i1, ) { + final _$serviceConnection = + serviceConnection?.reference ?? jni$_.jNullReference; _updateServiceGroup( reference.pointer, - _id_updateServiceGroup as _$jni.JMethodIDPtr, - serviceConnection.reference.pointer, + _id_updateServiceGroup as jni$_.JMethodIDPtr, + _$serviceConnection.pointer, i, i1) .check(); @@ -7211,23 +7905,25 @@ class Context extends _$jni.JObject { r'(Landroid/content/ServiceConnection;)V', ); - static final _unbindService = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _unbindService = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract void unbindService(android.content.ServiceConnection serviceConnection)` void unbindService( - _$jni.JObject serviceConnection, + jni$_.JObject? serviceConnection, ) { - _unbindService(reference.pointer, _id_unbindService as _$jni.JMethodIDPtr, - serviceConnection.reference.pointer) + final _$serviceConnection = + serviceConnection?.reference ?? jni$_.jNullReference; + _unbindService(reference.pointer, _id_unbindService as jni$_.JMethodIDPtr, + _$serviceConnection.pointer) .check(); } @@ -7236,37 +7932,40 @@ class Context extends _$jni.JObject { r'(Landroid/content/ComponentName;Ljava/lang/String;Landroid/os/Bundle;)Z', ); - static final _startInstrumentation = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startInstrumentation = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract boolean startInstrumentation(android.content.ComponentName componentName, java.lang.String string, android.os.Bundle bundle)` bool startInstrumentation( - _$jni.JObject componentName, - _$jni.JString string, - _$jni.JObject bundle, + jni$_.JObject? componentName, + jni$_.JString? string, + jni$_.JObject? bundle, ) { + final _$componentName = componentName?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; return _startInstrumentation( reference.pointer, - _id_startInstrumentation as _$jni.JMethodIDPtr, - componentName.reference.pointer, - string.reference.pointer, - bundle.reference.pointer) + _id_startInstrumentation as jni$_.JMethodIDPtr, + _$componentName.pointer, + _$string.pointer, + _$bundle.pointer) .boolean; } @@ -7275,27 +7974,26 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;)Ljava/lang/Object;', ); - static final _getSystemService = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getSystemService = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract java.lang.Object getSystemService(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getSystemService( - _$jni.JString string, + jni$_.JObject? getSystemService( + jni$_.JString? string, ) { - return _getSystemService( - reference.pointer, - _id_getSystemService as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JObjectType()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getSystemService(reference.pointer, + _id_getSystemService as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_getSystemService$1 = _class.instanceMethodId( @@ -7303,28 +8001,27 @@ class Context extends _$jni.JObject { r'(Ljava/lang/Class;)Ljava/lang/Object;', ); - static final _getSystemService$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getSystemService$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final T getSystemService(java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. - $T getSystemService$1<$T extends _$jni.JObject>( - _$jni.JObject class$, { - required _$jni.JObjType<$T> T, + $T? getSystemService$1<$T extends jni$_.JObject?>( + jni$_.JObject? class$, { + required jni$_.JObjType<$T> T, }) { - return _getSystemService$1( - reference.pointer, - _id_getSystemService$1 as _$jni.JMethodIDPtr, - class$.reference.pointer) - .object(T); + final _$class$ = class$?.reference ?? jni$_.jNullReference; + return _getSystemService$1(reference.pointer, + _id_getSystemService$1 as jni$_.JMethodIDPtr, _$class$.pointer) + .object<$T?>(T.nullableType); } static final _id_getSystemServiceName = _class.instanceMethodId( @@ -7332,27 +8029,26 @@ class Context extends _$jni.JObject { r'(Ljava/lang/Class;)Ljava/lang/String;', ); - static final _getSystemServiceName = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getSystemServiceName = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract java.lang.String getSystemServiceName(java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getSystemServiceName( - _$jni.JObject class$, + jni$_.JString? getSystemServiceName( + jni$_.JObject? class$, ) { - return _getSystemServiceName( - reference.pointer, - _id_getSystemServiceName as _$jni.JMethodIDPtr, - class$.reference.pointer) - .object(const _$jni.JStringType()); + final _$class$ = class$?.reference ?? jni$_.jNullReference; + return _getSystemServiceName(reference.pointer, + _id_getSystemServiceName as jni$_.JMethodIDPtr, _$class$.pointer) + .object(const jni$_.JStringNullableType()); } static final _id_checkPermission = _class.instanceMethodId( @@ -7360,33 +8056,30 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;II)I', ); - static final _checkPermission = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _checkPermission = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32 + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); /// from: `public abstract int checkPermission(java.lang.String string, int i, int i1)` int checkPermission( - _$jni.JString string, + jni$_.JString? string, int i, int i1, ) { - return _checkPermission( - reference.pointer, - _id_checkPermission as _$jni.JMethodIDPtr, - string.reference.pointer, - i, - i1) + final _$string = string?.reference ?? jni$_.jNullReference; + return _checkPermission(reference.pointer, + _id_checkPermission as jni$_.JMethodIDPtr, _$string.pointer, i, i1) .integer; } @@ -7395,25 +8088,24 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;)I', ); - static final _checkCallingPermission = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _checkCallingPermission = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract int checkCallingPermission(java.lang.String string)` int checkCallingPermission( - _$jni.JString string, + jni$_.JString? string, ) { - return _checkCallingPermission( - reference.pointer, - _id_checkCallingPermission as _$jni.JMethodIDPtr, - string.reference.pointer) + final _$string = string?.reference ?? jni$_.jNullReference; + return _checkCallingPermission(reference.pointer, + _id_checkCallingPermission as jni$_.JMethodIDPtr, _$string.pointer) .integer; } @@ -7423,25 +8115,26 @@ class Context extends _$jni.JObject { ); static final _checkCallingOrSelfPermission = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract int checkCallingOrSelfPermission(java.lang.String string)` int checkCallingOrSelfPermission( - _$jni.JString string, + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _checkCallingOrSelfPermission( reference.pointer, - _id_checkCallingOrSelfPermission as _$jni.JMethodIDPtr, - string.reference.pointer) + _id_checkCallingOrSelfPermission as jni$_.JMethodIDPtr, + _$string.pointer) .integer; } @@ -7450,25 +8143,24 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;)I', ); - static final _checkSelfPermission = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _checkSelfPermission = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract int checkSelfPermission(java.lang.String string)` int checkSelfPermission( - _$jni.JString string, + jni$_.JString? string, ) { - return _checkSelfPermission( - reference.pointer, - _id_checkSelfPermission as _$jni.JMethodIDPtr, - string.reference.pointer) + final _$string = string?.reference ?? jni$_.jNullReference; + return _checkSelfPermission(reference.pointer, + _id_checkSelfPermission as jni$_.JMethodIDPtr, _$string.pointer) .integer; } @@ -7477,41 +8169,43 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;IILjava/lang/String;)V', ); - static final _enforcePermission = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _enforcePermission = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public abstract void enforcePermission(java.lang.String string, int i, int i1, java.lang.String string1)` void enforcePermission( - _$jni.JString string, + jni$_.JString? string, int i, int i1, - _$jni.JString string1, + jni$_.JString? string1, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; _enforcePermission( reference.pointer, - _id_enforcePermission as _$jni.JMethodIDPtr, - string.reference.pointer, + _id_enforcePermission as jni$_.JMethodIDPtr, + _$string.pointer, i, i1, - string1.reference.pointer) + _$string1.pointer) .check(); } @@ -7520,33 +8214,35 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;Ljava/lang/String;)V', ); - static final _enforceCallingPermission = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _enforceCallingPermission = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void enforceCallingPermission(java.lang.String string, java.lang.String string1)` void enforceCallingPermission( - _$jni.JString string, - _$jni.JString string1, + jni$_.JString? string, + jni$_.JString? string1, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; _enforceCallingPermission( reference.pointer, - _id_enforceCallingPermission as _$jni.JMethodIDPtr, - string.reference.pointer, - string1.reference.pointer) + _id_enforceCallingPermission as jni$_.JMethodIDPtr, + _$string.pointer, + _$string1.pointer) .check(); } @@ -7556,33 +8252,35 @@ class Context extends _$jni.JObject { ); static final _enforceCallingOrSelfPermission = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public abstract void enforceCallingOrSelfPermission(java.lang.String string, java.lang.String string1)` void enforceCallingOrSelfPermission( - _$jni.JString string, - _$jni.JString string1, + jni$_.JString? string, + jni$_.JString? string1, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; _enforceCallingOrSelfPermission( reference.pointer, - _id_enforceCallingOrSelfPermission as _$jni.JMethodIDPtr, - string.reference.pointer, - string1.reference.pointer) + _id_enforceCallingOrSelfPermission as jni$_.JMethodIDPtr, + _$string.pointer, + _$string1.pointer) .check(); } @@ -7591,36 +8289,38 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;Landroid/net/Uri;I)V', ); - static final _grantUriPermission = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _grantUriPermission = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int)>(); /// from: `public abstract void grantUriPermission(java.lang.String string, android.net.Uri uri, int i)` void grantUriPermission( - _$jni.JString string, - _$jni.JObject uri, + jni$_.JString? string, + jni$_.JObject? uri, int i, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$uri = uri?.reference ?? jni$_.jNullReference; _grantUriPermission( reference.pointer, - _id_grantUriPermission as _$jni.JMethodIDPtr, - string.reference.pointer, - uri.reference.pointer, + _id_grantUriPermission as jni$_.JMethodIDPtr, + _$string.pointer, + _$uri.pointer, i) .check(); } @@ -7630,28 +8330,26 @@ class Context extends _$jni.JObject { r'(Landroid/net/Uri;I)V', ); - static final _revokeUriPermission = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _revokeUriPermission = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public abstract void revokeUriPermission(android.net.Uri uri, int i)` void revokeUriPermission( - _$jni.JObject uri, + jni$_.JObject? uri, int i, ) { - _revokeUriPermission( - reference.pointer, - _id_revokeUriPermission as _$jni.JMethodIDPtr, - uri.reference.pointer, - i) + final _$uri = uri?.reference ?? jni$_.jNullReference; + _revokeUriPermission(reference.pointer, + _id_revokeUriPermission as jni$_.JMethodIDPtr, _$uri.pointer, i) .check(); } @@ -7660,36 +8358,38 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;Landroid/net/Uri;I)V', ); - static final _revokeUriPermission$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _revokeUriPermission$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int)>(); /// from: `public abstract void revokeUriPermission(java.lang.String string, android.net.Uri uri, int i)` void revokeUriPermission$1( - _$jni.JString string, - _$jni.JObject uri, + jni$_.JString? string, + jni$_.JObject? uri, int i, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$uri = uri?.reference ?? jni$_.jNullReference; _revokeUriPermission$1( reference.pointer, - _id_revokeUriPermission$1 as _$jni.JMethodIDPtr, - string.reference.pointer, - uri.reference.pointer, + _id_revokeUriPermission$1 as jni$_.JMethodIDPtr, + _$string.pointer, + _$uri.pointer, i) .check(); } @@ -7699,33 +8399,34 @@ class Context extends _$jni.JObject { r'(Landroid/net/Uri;III)I', ); - static final _checkUriPermission = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _checkUriPermission = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Int32 + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int, int, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); /// from: `public abstract int checkUriPermission(android.net.Uri uri, int i, int i1, int i2)` int checkUriPermission( - _$jni.JObject uri, + jni$_.JObject? uri, int i, int i1, int i2, ) { + final _$uri = uri?.reference ?? jni$_.jNullReference; return _checkUriPermission( reference.pointer, - _id_checkUriPermission as _$jni.JMethodIDPtr, - uri.reference.pointer, + _id_checkUriPermission as jni$_.JMethodIDPtr, + _$uri.pointer, i, i1, i2) @@ -7737,38 +8438,39 @@ class Context extends _$jni.JObject { r'(Ljava/util/List;III)[I', ); - static final _checkUriPermissions = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _checkUriPermissions = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Int32 + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int, int, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); /// from: `public java.lang.Object[] checkUriPermissions(java.util.List list, int i, int i1, int i2)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.jint> checkUriPermissions( - _$jni.JList<_$jni.JObject> list, + jni$_.JIntArray? checkUriPermissions( + jni$_.JList? list, int i, int i1, int i2, ) { + final _$list = list?.reference ?? jni$_.jNullReference; return _checkUriPermissions( reference.pointer, - _id_checkUriPermissions as _$jni.JMethodIDPtr, - list.reference.pointer, + _id_checkUriPermissions as jni$_.JMethodIDPtr, + _$list.pointer, i, i1, i2) - .object(const _$jni.JArrayType(_$jni.jintType())); + .object(const jni$_.JIntArrayNullableType()); } static final _id_checkCallingUriPermission = _class.instanceMethodId( @@ -7776,27 +8478,28 @@ class Context extends _$jni.JObject { r'(Landroid/net/Uri;I)I', ); - static final _checkCallingUriPermission = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _checkCallingUriPermission = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public abstract int checkCallingUriPermission(android.net.Uri uri, int i)` int checkCallingUriPermission( - _$jni.JObject uri, + jni$_.JObject? uri, int i, ) { + final _$uri = uri?.reference ?? jni$_.jNullReference; return _checkCallingUriPermission( reference.pointer, - _id_checkCallingUriPermission as _$jni.JMethodIDPtr, - uri.reference.pointer, + _id_checkCallingUriPermission as jni$_.JMethodIDPtr, + _$uri.pointer, i) .integer; } @@ -7807,32 +8510,33 @@ class Context extends _$jni.JObject { ); static final _checkCallingUriPermissions = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public java.lang.Object[] checkCallingUriPermissions(java.util.List list, int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.jint> checkCallingUriPermissions( - _$jni.JList<_$jni.JObject> list, + jni$_.JIntArray? checkCallingUriPermissions( + jni$_.JList? list, int i, ) { + final _$list = list?.reference ?? jni$_.jNullReference; return _checkCallingUriPermissions( reference.pointer, - _id_checkCallingUriPermissions as _$jni.JMethodIDPtr, - list.reference.pointer, + _id_checkCallingUriPermissions as jni$_.JMethodIDPtr, + _$list.pointer, i) - .object(const _$jni.JArrayType(_$jni.jintType())); + .object(const jni$_.JIntArrayNullableType()); } static final _id_checkCallingOrSelfUriPermission = _class.instanceMethodId( @@ -7841,29 +8545,30 @@ class Context extends _$jni.JObject { ); static final _checkCallingOrSelfUriPermission = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public abstract int checkCallingOrSelfUriPermission(android.net.Uri uri, int i)` int checkCallingOrSelfUriPermission( - _$jni.JObject uri, + jni$_.JObject? uri, int i, ) { + final _$uri = uri?.reference ?? jni$_.jNullReference; return _checkCallingOrSelfUriPermission( reference.pointer, - _id_checkCallingOrSelfUriPermission as _$jni.JMethodIDPtr, - uri.reference.pointer, + _id_checkCallingOrSelfUriPermission as jni$_.JMethodIDPtr, + _$uri.pointer, i) .integer; } @@ -7874,32 +8579,33 @@ class Context extends _$jni.JObject { ); static final _checkCallingOrSelfUriPermissions = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public java.lang.Object[] checkCallingOrSelfUriPermissions(java.util.List list, int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.jint> checkCallingOrSelfUriPermissions( - _$jni.JList<_$jni.JObject> list, + jni$_.JIntArray? checkCallingOrSelfUriPermissions( + jni$_.JList? list, int i, ) { + final _$list = list?.reference ?? jni$_.jNullReference; return _checkCallingOrSelfUriPermissions( reference.pointer, - _id_checkCallingOrSelfUriPermissions as _$jni.JMethodIDPtr, - list.reference.pointer, + _id_checkCallingOrSelfUriPermissions as jni$_.JMethodIDPtr, + _$list.pointer, i) - .object(const _$jni.JArrayType(_$jni.jintType())); + .object(const jni$_.JIntArrayNullableType()); } static final _id_checkUriPermission$1 = _class.instanceMethodId( @@ -7907,46 +8613,49 @@ class Context extends _$jni.JObject { r'(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;III)I', ); - static final _checkUriPermission$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _checkUriPermission$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Int32 + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, int, int)>(); /// from: `public abstract int checkUriPermission(android.net.Uri uri, java.lang.String string, java.lang.String string1, int i, int i1, int i2)` int checkUriPermission$1( - _$jni.JObject uri, - _$jni.JString string, - _$jni.JString string1, + jni$_.JObject? uri, + jni$_.JString? string, + jni$_.JString? string1, int i, int i1, int i2, ) { + final _$uri = uri?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; return _checkUriPermission$1( reference.pointer, - _id_checkUriPermission$1 as _$jni.JMethodIDPtr, - uri.reference.pointer, - string.reference.pointer, - string1.reference.pointer, + _id_checkUriPermission$1 as jni$_.JMethodIDPtr, + _$uri.pointer, + _$string.pointer, + _$string1.pointer, i, i1, i2) @@ -7958,45 +8667,47 @@ class Context extends _$jni.JObject { r'(Landroid/net/Uri;IIILjava/lang/String;)V', ); - static final _enforceUriPermission = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _enforceUriPermission = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, int, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public abstract void enforceUriPermission(android.net.Uri uri, int i, int i1, int i2, java.lang.String string)` void enforceUriPermission( - _$jni.JObject uri, + jni$_.JObject? uri, int i, int i1, int i2, - _$jni.JString string, + jni$_.JString? string, ) { + final _$uri = uri?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; _enforceUriPermission( reference.pointer, - _id_enforceUriPermission as _$jni.JMethodIDPtr, - uri.reference.pointer, + _id_enforceUriPermission as jni$_.JMethodIDPtr, + _$uri.pointer, i, i1, i2, - string.reference.pointer) + _$string.pointer) .check(); } @@ -8006,37 +8717,39 @@ class Context extends _$jni.JObject { ); static final _enforceCallingUriPermission = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public abstract void enforceCallingUriPermission(android.net.Uri uri, int i, java.lang.String string)` void enforceCallingUriPermission( - _$jni.JObject uri, + jni$_.JObject? uri, int i, - _$jni.JString string, + jni$_.JString? string, ) { + final _$uri = uri?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; _enforceCallingUriPermission( reference.pointer, - _id_enforceCallingUriPermission as _$jni.JMethodIDPtr, - uri.reference.pointer, + _id_enforceCallingUriPermission as jni$_.JMethodIDPtr, + _$uri.pointer, i, - string.reference.pointer) + _$string.pointer) .check(); } @@ -8046,37 +8759,39 @@ class Context extends _$jni.JObject { ); static final _enforceCallingOrSelfUriPermission = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public abstract void enforceCallingOrSelfUriPermission(android.net.Uri uri, int i, java.lang.String string)` void enforceCallingOrSelfUriPermission( - _$jni.JObject uri, + jni$_.JObject? uri, int i, - _$jni.JString string, + jni$_.JString? string, ) { + final _$uri = uri?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; _enforceCallingOrSelfUriPermission( reference.pointer, - _id_enforceCallingOrSelfUriPermission as _$jni.JMethodIDPtr, - uri.reference.pointer, + _id_enforceCallingOrSelfUriPermission as jni$_.JMethodIDPtr, + _$uri.pointer, i, - string.reference.pointer) + _$string.pointer) .check(); } @@ -8085,53 +8800,57 @@ class Context extends _$jni.JObject { r'(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;IIILjava/lang/String;)V', ); - static final _enforceUriPermission$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _enforceUriPermission$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, int, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public abstract void enforceUriPermission(android.net.Uri uri, java.lang.String string, java.lang.String string1, int i, int i1, int i2, java.lang.String string2)` void enforceUriPermission$1( - _$jni.JObject uri, - _$jni.JString string, - _$jni.JString string1, + jni$_.JObject? uri, + jni$_.JString? string, + jni$_.JString? string1, int i, int i1, int i2, - _$jni.JString string2, + jni$_.JString? string2, ) { + final _$uri = uri?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; + final _$string2 = string2?.reference ?? jni$_.jNullReference; _enforceUriPermission$1( reference.pointer, - _id_enforceUriPermission$1 as _$jni.JMethodIDPtr, - uri.reference.pointer, - string.reference.pointer, - string1.reference.pointer, + _id_enforceUriPermission$1 as jni$_.JMethodIDPtr, + _$uri.pointer, + _$string.pointer, + _$string1.pointer, i, i1, i2, - string2.reference.pointer) + _$string2.pointer) .check(); } @@ -8141,25 +8860,26 @@ class Context extends _$jni.JObject { ); static final _revokeSelfPermissionOnKill = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void revokeSelfPermissionOnKill(java.lang.String string)` void revokeSelfPermissionOnKill( - _$jni.JString string, + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; _revokeSelfPermissionOnKill( reference.pointer, - _id_revokeSelfPermissionOnKill as _$jni.JMethodIDPtr, - string.reference.pointer) + _id_revokeSelfPermissionOnKill as jni$_.JMethodIDPtr, + _$string.pointer) .check(); } @@ -8169,25 +8889,26 @@ class Context extends _$jni.JObject { ); static final _revokeSelfPermissionsOnKill = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void revokeSelfPermissionsOnKill(java.util.Collection collection)` void revokeSelfPermissionsOnKill( - _$jni.JObject collection, + jni$_.JObject? collection, ) { + final _$collection = collection?.reference ?? jni$_.jNullReference; _revokeSelfPermissionsOnKill( reference.pointer, - _id_revokeSelfPermissionsOnKill as _$jni.JMethodIDPtr, - collection.reference.pointer) + _id_revokeSelfPermissionsOnKill as jni$_.JMethodIDPtr, + _$collection.pointer) .check(); } @@ -8196,30 +8917,28 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;I)Landroid/content/Context;', ); - static final _createPackageContext = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _createPackageContext = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public abstract android.content.Context createPackageContext(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - Context createPackageContext( - _$jni.JString string, + Context? createPackageContext( + jni$_.JString? string, int i, ) { - return _createPackageContext( - reference.pointer, - _id_createPackageContext as _$jni.JMethodIDPtr, - string.reference.pointer, - i) - .object(const $Context$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _createPackageContext(reference.pointer, + _id_createPackageContext as jni$_.JMethodIDPtr, _$string.pointer, i) + .object(const $Context$NullableType()); } static final _id_createContextForSplit = _class.instanceMethodId( @@ -8227,27 +8946,26 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;)Landroid/content/Context;', ); - static final _createContextForSplit = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _createContextForSplit = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract android.content.Context createContextForSplit(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Context createContextForSplit( - _$jni.JString string, + Context? createContextForSplit( + jni$_.JString? string, ) { - return _createContextForSplit( - reference.pointer, - _id_createContextForSplit as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const $Context$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _createContextForSplit(reference.pointer, + _id_createContextForSplit as jni$_.JMethodIDPtr, _$string.pointer) + .object(const $Context$NullableType()); } static final _id_createConfigurationContext = _class.instanceMethodId( @@ -8256,27 +8974,28 @@ class Context extends _$jni.JObject { ); static final _createConfigurationContext = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract android.content.Context createConfigurationContext(android.content.res.Configuration configuration)` /// The returned object must be released after use, by calling the [release] method. - Context createConfigurationContext( - _$jni.JObject configuration, + Context? createConfigurationContext( + jni$_.JObject? configuration, ) { + final _$configuration = configuration?.reference ?? jni$_.jNullReference; return _createConfigurationContext( reference.pointer, - _id_createConfigurationContext as _$jni.JMethodIDPtr, - configuration.reference.pointer) - .object(const $Context$Type()); + _id_createConfigurationContext as jni$_.JMethodIDPtr, + _$configuration.pointer) + .object(const $Context$NullableType()); } static final _id_createDisplayContext = _class.instanceMethodId( @@ -8284,27 +9003,26 @@ class Context extends _$jni.JObject { r'(Landroid/view/Display;)Landroid/content/Context;', ); - static final _createDisplayContext = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _createDisplayContext = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public abstract android.content.Context createDisplayContext(android.view.Display display)` /// The returned object must be released after use, by calling the [release] method. - Context createDisplayContext( - _$jni.JObject display, + Context? createDisplayContext( + jni$_.JObject? display, ) { - return _createDisplayContext( - reference.pointer, - _id_createDisplayContext as _$jni.JMethodIDPtr, - display.reference.pointer) - .object(const $Context$Type()); + final _$display = display?.reference ?? jni$_.jNullReference; + return _createDisplayContext(reference.pointer, + _id_createDisplayContext as jni$_.JMethodIDPtr, _$display.pointer) + .object(const $Context$NullableType()); } static final _id_createWindowContext = _class.instanceMethodId( @@ -8312,30 +9030,28 @@ class Context extends _$jni.JObject { r'(ILandroid/os/Bundle;)Landroid/content/Context;', ); - static final _createWindowContext = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _createWindowContext = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public android.content.Context createWindowContext(int i, android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. - Context createWindowContext( + Context? createWindowContext( int i, - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { - return _createWindowContext( - reference.pointer, - _id_createWindowContext as _$jni.JMethodIDPtr, - i, - bundle.reference.pointer) - .object(const $Context$Type()); + final _$bundle = bundle?.reference ?? jni$_.jNullReference; + return _createWindowContext(reference.pointer, + _id_createWindowContext as jni$_.JMethodIDPtr, i, _$bundle.pointer) + .object(const $Context$NullableType()); } static final _id_createWindowContext$1 = _class.instanceMethodId( @@ -8343,39 +9059,41 @@ class Context extends _$jni.JObject { r'(Landroid/view/Display;ILandroid/os/Bundle;)Landroid/content/Context;', ); - static final _createWindowContext$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _createWindowContext$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public android.content.Context createWindowContext(android.view.Display display, int i, android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. - Context createWindowContext$1( - _$jni.JObject display, + Context? createWindowContext$1( + jni$_.JObject? display, int i, - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { + final _$display = display?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; return _createWindowContext$1( reference.pointer, - _id_createWindowContext$1 as _$jni.JMethodIDPtr, - display.reference.pointer, + _id_createWindowContext$1 as jni$_.JMethodIDPtr, + _$display.pointer, i, - bundle.reference.pointer) - .object(const $Context$Type()); + _$bundle.pointer) + .object(const $Context$NullableType()); } static final _id_createContext = _class.instanceMethodId( @@ -8383,27 +9101,26 @@ class Context extends _$jni.JObject { r'(Landroid/content/ContextParams;)Landroid/content/Context;', ); - static final _createContext = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _createContext = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Context createContext(android.content.ContextParams contextParams)` /// The returned object must be released after use, by calling the [release] method. - Context createContext( - _$jni.JObject contextParams, + Context? createContext( + jni$_.JObject? contextParams, ) { - return _createContext( - reference.pointer, - _id_createContext as _$jni.JMethodIDPtr, - contextParams.reference.pointer) - .object(const $Context$Type()); + final _$contextParams = contextParams?.reference ?? jni$_.jNullReference; + return _createContext(reference.pointer, + _id_createContext as jni$_.JMethodIDPtr, _$contextParams.pointer) + .object(const $Context$NullableType()); } static final _id_createAttributionContext = _class.instanceMethodId( @@ -8411,27 +9128,28 @@ class Context extends _$jni.JObject { r'(Ljava/lang/String;)Landroid/content/Context;', ); - static final _createAttributionContext = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _createAttributionContext = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Context createAttributionContext(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Context createAttributionContext( - _$jni.JString string, + Context? createAttributionContext( + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _createAttributionContext( reference.pointer, - _id_createAttributionContext as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const $Context$Type()); + _id_createAttributionContext as jni$_.JMethodIDPtr, + _$string.pointer) + .object(const $Context$NullableType()); } static final _id_createDeviceProtectedStorageContext = @@ -8441,24 +9159,24 @@ class Context extends _$jni.JObject { ); static final _createDeviceProtectedStorageContext = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract android.content.Context createDeviceProtectedStorageContext()` /// The returned object must be released after use, by calling the [release] method. - Context createDeviceProtectedStorageContext() { + Context? createDeviceProtectedStorageContext() { return _createDeviceProtectedStorageContext(reference.pointer, - _id_createDeviceProtectedStorageContext as _$jni.JMethodIDPtr) - .object(const $Context$Type()); + _id_createDeviceProtectedStorageContext as jni$_.JMethodIDPtr) + .object(const $Context$NullableType()); } static final _id_getDisplay = _class.instanceMethodId( @@ -8466,23 +9184,23 @@ class Context extends _$jni.JObject { r'()Landroid/view/Display;', ); - static final _getDisplay = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getDisplay = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.view.Display getDisplay()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getDisplay() { - return _getDisplay(reference.pointer, _id_getDisplay as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + jni$_.JObject? getDisplay() { + return _getDisplay(reference.pointer, _id_getDisplay as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_isRestricted = _class.instanceMethodId( @@ -8490,22 +9208,22 @@ class Context extends _$jni.JObject { r'()Z', ); - static final _isRestricted = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isRestricted = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isRestricted()` bool isRestricted() { return _isRestricted( - reference.pointer, _id_isRestricted as _$jni.JMethodIDPtr) + reference.pointer, _id_isRestricted as jni$_.JMethodIDPtr) .boolean; } @@ -8514,22 +9232,22 @@ class Context extends _$jni.JObject { r'()Z', ); - static final _isDeviceProtectedStorage = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isDeviceProtectedStorage = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public abstract boolean isDeviceProtectedStorage()` bool isDeviceProtectedStorage() { return _isDeviceProtectedStorage(reference.pointer, - _id_isDeviceProtectedStorage as _$jni.JMethodIDPtr) + _id_isDeviceProtectedStorage as jni$_.JMethodIDPtr) .boolean; } @@ -8538,95 +9256,138 @@ class Context extends _$jni.JObject { r'()Z', ); - static final _isUiContext = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isUiContext = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isUiContext()` bool isUiContext() { return _isUiContext( - reference.pointer, _id_isUiContext as _$jni.JMethodIDPtr) + reference.pointer, _id_isUiContext as jni$_.JMethodIDPtr) .boolean; } } -final class $Context$Type extends _$jni.JObjType { - @_$jni.internal - const $Context$Type(); +final class $Context$NullableType extends jni$_.JObjType { + @jni$_.internal + const $Context$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroid/content/Context;'; - @_$jni.internal - @_$core.override - Context fromReference(_$jni.JReference reference) => - Context.fromReference(reference); + @jni$_.internal + @core$_.override + Context? fromReference(jni$_.JReference reference) => reference.isNull + ? null + : Context.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($Context$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($Context$NullableType) && + other is $Context$NullableType; + } +} + +final class $Context$Type extends jni$_.JObjType { + @jni$_.internal + const $Context$Type(); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + String get signature => r'Landroid/content/Context;'; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + Context fromReference(jni$_.JReference reference) => Context.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => const $Context$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override int get hashCode => ($Context$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($Context$Type) && other is $Context$Type; } } /// from: `android.content.Intent$FilterComparison` -class Intent_FilterComparison extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; - - @_$jni.internal - Intent_FilterComparison.fromReference( - _$jni.JReference reference, +class Intent$FilterComparison extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; + + @jni$_.internal + Intent$FilterComparison.fromReference( + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); static final _class = - _$jni.JClass.forName(r'android/content/Intent$FilterComparison'); + jni$_.JClass.forName(r'android/content/Intent$FilterComparison'); /// The type which includes information such as the signature of this class. - static const type = $Intent_FilterComparison$Type(); + static const nullableType = $Intent$FilterComparison$NullableType(); + static const type = $Intent$FilterComparison$Type(); static final _id_new$ = _class.constructorId( r'(Landroid/content/Intent;)V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_NewObject') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void (android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - factory Intent_FilterComparison( - Intent intent, + factory Intent$FilterComparison( + Intent? intent, ) { - return Intent_FilterComparison.fromReference(_new$(_class.reference.pointer, - _id_new$ as _$jni.JMethodIDPtr, intent.reference.pointer) + final _$intent = intent?.reference ?? jni$_.jNullReference; + return Intent$FilterComparison.fromReference(_new$(_class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, _$intent.pointer) .reference); } @@ -8635,23 +9396,23 @@ class Intent_FilterComparison extends _$jni.JObject { r'()Landroid/content/Intent;', ); - static final _getIntent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getIntent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.content.Intent getIntent()` /// The returned object must be released after use, by calling the [release] method. - Intent getIntent() { - return _getIntent(reference.pointer, _id_getIntent as _$jni.JMethodIDPtr) - .object(const $Intent$Type()); + Intent? getIntent() { + return _getIntent(reference.pointer, _id_getIntent as jni$_.JMethodIDPtr) + .object(const $Intent$NullableType()); } static final _id_equals = _class.instanceMethodId( @@ -8659,23 +9420,24 @@ class Intent_FilterComparison extends _$jni.JObject { r'(Ljava/lang/Object;)Z', ); - static final _equals = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _equals = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean equals(java.lang.Object object)` bool equals( - _$jni.JObject object, + jni$_.JObject? object, ) { - return _equals(reference.pointer, _id_equals as _$jni.JMethodIDPtr, - object.reference.pointer) + final _$object = object?.reference ?? jni$_.jNullReference; + return _equals(reference.pointer, _id_equals as jni$_.JMethodIDPtr, + _$object.pointer) .boolean; } @@ -8684,74 +9446,120 @@ class Intent_FilterComparison extends _$jni.JObject { r'()I', ); - static final _hashCode$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _hashCode$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int hashCode()` int hashCode$1() { - return _hashCode$1(reference.pointer, _id_hashCode$1 as _$jni.JMethodIDPtr) + return _hashCode$1(reference.pointer, _id_hashCode$1 as jni$_.JMethodIDPtr) .integer; } } -final class $Intent_FilterComparison$Type - extends _$jni.JObjType { - @_$jni.internal - const $Intent_FilterComparison$Type(); +final class $Intent$FilterComparison$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $Intent$FilterComparison$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroid/content/Intent$FilterComparison;'; - @_$jni.internal - @_$core.override - Intent_FilterComparison fromReference(_$jni.JReference reference) => - Intent_FilterComparison.fromReference(reference); + @jni$_.internal + @core$_.override + Intent$FilterComparison? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : Intent$FilterComparison.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @core$_.override + int get hashCode => ($Intent$FilterComparison$NullableType).hashCode; - @_$jni.internal - @_$core.override + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($Intent$FilterComparison$NullableType) && + other is $Intent$FilterComparison$NullableType; + } +} + +final class $Intent$FilterComparison$Type + extends jni$_.JObjType { + @jni$_.internal + const $Intent$FilterComparison$Type(); + + @jni$_.internal + @core$_.override + String get signature => r'Landroid/content/Intent$FilterComparison;'; + + @jni$_.internal + @core$_.override + Intent$FilterComparison fromReference(jni$_.JReference reference) => + Intent$FilterComparison.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $Intent$FilterComparison$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override - int get hashCode => ($Intent_FilterComparison$Type).hashCode; + @core$_.override + int get hashCode => ($Intent$FilterComparison$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Intent_FilterComparison$Type) && - other is $Intent_FilterComparison$Type; + return other.runtimeType == ($Intent$FilterComparison$Type) && + other is $Intent$FilterComparison$Type; } } /// from: `android.content.Intent$ShortcutIconResource` -class Intent_ShortcutIconResource extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; - - @_$jni.internal - Intent_ShortcutIconResource.fromReference( - _$jni.JReference reference, +class Intent$ShortcutIconResource extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; + + @jni$_.internal + Intent$ShortcutIconResource.fromReference( + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); static final _class = - _$jni.JClass.forName(r'android/content/Intent$ShortcutIconResource'); + jni$_.JClass.forName(r'android/content/Intent$ShortcutIconResource'); /// The type which includes information such as the signature of this class. - static const type = $Intent_ShortcutIconResource$Type(); + static const nullableType = $Intent$ShortcutIconResource$NullableType(); + static const type = $Intent$ShortcutIconResource$Type(); static final _id_CREATOR = _class.staticFieldId( r'CREATOR', r'Landroid/os/Parcelable$Creator;', @@ -8759,8 +9567,8 @@ class Intent_ShortcutIconResource extends _$jni.JObject { /// from: `static public final android.os.Parcelable$Creator CREATOR` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JObject get CREATOR => - _id_CREATOR.get(_class, const _$jni.JObjectType()); + static jni$_.JObject? get CREATOR => + _id_CREATOR.get(_class, const jni$_.JObjectNullableType()); static final _id_packageName = _class.instanceFieldId( r'packageName', @@ -8769,13 +9577,13 @@ class Intent_ShortcutIconResource extends _$jni.JObject { /// from: `public java.lang.String packageName` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString get packageName => - _id_packageName.get(this, const _$jni.JStringType()); + jni$_.JString? get packageName => + _id_packageName.get(this, const jni$_.JStringNullableType()); /// from: `public java.lang.String packageName` /// The returned object must be released after use, by calling the [release] method. - set packageName(_$jni.JString value) => - _id_packageName.set(this, const _$jni.JStringType(), value); + set packageName(jni$_.JString? value) => + _id_packageName.set(this, const jni$_.JStringNullableType(), value); static final _id_resourceName = _class.instanceFieldId( r'resourceName', @@ -8784,35 +9592,35 @@ class Intent_ShortcutIconResource extends _$jni.JObject { /// from: `public java.lang.String resourceName` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString get resourceName => - _id_resourceName.get(this, const _$jni.JStringType()); + jni$_.JString? get resourceName => + _id_resourceName.get(this, const jni$_.JStringNullableType()); /// from: `public java.lang.String resourceName` /// The returned object must be released after use, by calling the [release] method. - set resourceName(_$jni.JString value) => - _id_resourceName.set(this, const _$jni.JStringType(), value); + set resourceName(jni$_.JString? value) => + _id_resourceName.set(this, const jni$_.JStringNullableType(), value); static final _id_new$ = _class.constructorId( r'()V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. - factory Intent_ShortcutIconResource() { - return Intent_ShortcutIconResource.fromReference( - _new$(_class.reference.pointer, _id_new$ as _$jni.JMethodIDPtr) + factory Intent$ShortcutIconResource() { + return Intent$ShortcutIconResource.fromReference( + _new$(_class.reference.pointer, _id_new$ as jni$_.JMethodIDPtr) .reference); } @@ -8821,27 +9629,29 @@ class Intent_ShortcutIconResource extends _$jni.JObject { r'(Landroid/content/Context;I)Landroid/content/Intent$ShortcutIconResource;', ); - static final _fromContext = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _fromContext = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `static public android.content.Intent$ShortcutIconResource fromContext(android.content.Context context, int i)` /// The returned object must be released after use, by calling the [release] method. - static Intent_ShortcutIconResource fromContext( - Context context, + static Intent$ShortcutIconResource? fromContext( + Context? context, int i, ) { + final _$context = context?.reference ?? jni$_.jNullReference; return _fromContext(_class.reference.pointer, - _id_fromContext as _$jni.JMethodIDPtr, context.reference.pointer, i) - .object(const $Intent_ShortcutIconResource$Type()); + _id_fromContext as jni$_.JMethodIDPtr, _$context.pointer, i) + .object( + const $Intent$ShortcutIconResource$NullableType()); } static final _id_describeContents = _class.instanceMethodId( @@ -8849,22 +9659,22 @@ class Intent_ShortcutIconResource extends _$jni.JObject { r'()I', ); - static final _describeContents = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _describeContents = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int describeContents()` int describeContents() { return _describeContents( - reference.pointer, _id_describeContents as _$jni.JMethodIDPtr) + reference.pointer, _id_describeContents as jni$_.JMethodIDPtr) .integer; } @@ -8873,25 +9683,26 @@ class Intent_ShortcutIconResource extends _$jni.JObject { r'(Landroid/os/Parcel;I)V', ); - static final _writeToParcel = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _writeToParcel = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public void writeToParcel(android.os.Parcel parcel, int i)` void writeToParcel( - _$jni.JObject parcel, + jni$_.JObject? parcel, int i, ) { - _writeToParcel(reference.pointer, _id_writeToParcel as _$jni.JMethodIDPtr, - parcel.reference.pointer, i) + final _$parcel = parcel?.reference ?? jni$_.jNullReference; + _writeToParcel(reference.pointer, _id_writeToParcel as jni$_.JMethodIDPtr, + _$parcel.pointer, i) .check(); } @@ -8900,73 +9711,119 @@ class Intent_ShortcutIconResource extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _toString$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _toString$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String toString()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString toString$1() { - return _toString$1(reference.pointer, _id_toString$1 as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + jni$_.JString? toString$1() { + return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } } -final class $Intent_ShortcutIconResource$Type - extends _$jni.JObjType { - @_$jni.internal - const $Intent_ShortcutIconResource$Type(); +final class $Intent$ShortcutIconResource$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $Intent$ShortcutIconResource$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroid/content/Intent$ShortcutIconResource;'; - @_$jni.internal - @_$core.override - Intent_ShortcutIconResource fromReference(_$jni.JReference reference) => - Intent_ShortcutIconResource.fromReference(reference); + @jni$_.internal + @core$_.override + Intent$ShortcutIconResource? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : Intent$ShortcutIconResource.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($Intent$ShortcutIconResource$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($Intent$ShortcutIconResource$NullableType) && + other is $Intent$ShortcutIconResource$NullableType; + } +} + +final class $Intent$ShortcutIconResource$Type + extends jni$_.JObjType { + @jni$_.internal + const $Intent$ShortcutIconResource$Type(); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + String get signature => r'Landroid/content/Intent$ShortcutIconResource;'; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + Intent$ShortcutIconResource fromReference(jni$_.JReference reference) => + Intent$ShortcutIconResource.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $Intent$ShortcutIconResource$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override - int get hashCode => ($Intent_ShortcutIconResource$Type).hashCode; + @core$_.override + int get hashCode => ($Intent$ShortcutIconResource$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Intent_ShortcutIconResource$Type) && - other is $Intent_ShortcutIconResource$Type; + return other.runtimeType == ($Intent$ShortcutIconResource$Type) && + other is $Intent$ShortcutIconResource$Type; } } /// from: `android.content.Intent` -class Intent extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; +class Intent extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; - @_$jni.internal + @jni$_.internal Intent.fromReference( - _$jni.JReference reference, + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName(r'android/content/Intent'); + static final _class = jni$_.JClass.forName(r'android/content/Intent'); /// The type which includes information such as the signature of this class. + static const nullableType = $Intent$NullableType(); static const type = $Intent$Type(); static final _id_ACTION_AIRPLANE_MODE_CHANGED = _class.staticFieldId( r'ACTION_AIRPLANE_MODE_CHANGED', @@ -8975,8 +9832,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_AIRPLANE_MODE_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_AIRPLANE_MODE_CHANGED => - _id_ACTION_AIRPLANE_MODE_CHANGED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_AIRPLANE_MODE_CHANGED => + _id_ACTION_AIRPLANE_MODE_CHANGED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_ALL_APPS = _class.staticFieldId( r'ACTION_ALL_APPS', @@ -8985,8 +9843,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_ALL_APPS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_ALL_APPS => - _id_ACTION_ALL_APPS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_ALL_APPS => + _id_ACTION_ALL_APPS.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_ANSWER = _class.staticFieldId( r'ACTION_ANSWER', @@ -8995,8 +9853,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_ANSWER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_ANSWER => - _id_ACTION_ANSWER.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_ANSWER => + _id_ACTION_ANSWER.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_APPLICATION_LOCALE_CHANGED = _class.staticFieldId( r'ACTION_APPLICATION_LOCALE_CHANGED', @@ -9005,9 +9863,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_APPLICATION_LOCALE_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_APPLICATION_LOCALE_CHANGED => + static jni$_.JString? get ACTION_APPLICATION_LOCALE_CHANGED => _id_ACTION_APPLICATION_LOCALE_CHANGED.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_ACTION_APPLICATION_PREFERENCES = _class.staticFieldId( r'ACTION_APPLICATION_PREFERENCES', @@ -9016,8 +9874,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_APPLICATION_PREFERENCES` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_APPLICATION_PREFERENCES => - _id_ACTION_APPLICATION_PREFERENCES.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_APPLICATION_PREFERENCES => + _id_ACTION_APPLICATION_PREFERENCES.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_APPLICATION_RESTRICTIONS_CHANGED = _class.staticFieldId( @@ -9027,9 +9886,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_APPLICATION_RESTRICTIONS_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_APPLICATION_RESTRICTIONS_CHANGED => + static jni$_.JString? get ACTION_APPLICATION_RESTRICTIONS_CHANGED => _id_ACTION_APPLICATION_RESTRICTIONS_CHANGED.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_ACTION_APP_ERROR = _class.staticFieldId( r'ACTION_APP_ERROR', @@ -9038,8 +9897,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_APP_ERROR` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_APP_ERROR => - _id_ACTION_APP_ERROR.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_APP_ERROR => + _id_ACTION_APP_ERROR.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_ASSIST = _class.staticFieldId( r'ACTION_ASSIST', @@ -9048,8 +9907,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_ASSIST` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_ASSIST => - _id_ACTION_ASSIST.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_ASSIST => + _id_ACTION_ASSIST.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_ATTACH_DATA = _class.staticFieldId( r'ACTION_ATTACH_DATA', @@ -9058,8 +9917,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_ATTACH_DATA` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_ATTACH_DATA => - _id_ACTION_ATTACH_DATA.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_ATTACH_DATA => + _id_ACTION_ATTACH_DATA.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_AUTO_REVOKE_PERMISSIONS = _class.staticFieldId( r'ACTION_AUTO_REVOKE_PERMISSIONS', @@ -9068,8 +9927,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_AUTO_REVOKE_PERMISSIONS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_AUTO_REVOKE_PERMISSIONS => - _id_ACTION_AUTO_REVOKE_PERMISSIONS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_AUTO_REVOKE_PERMISSIONS => + _id_ACTION_AUTO_REVOKE_PERMISSIONS.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_BATTERY_CHANGED = _class.staticFieldId( r'ACTION_BATTERY_CHANGED', @@ -9078,8 +9938,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_BATTERY_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_BATTERY_CHANGED => - _id_ACTION_BATTERY_CHANGED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_BATTERY_CHANGED => + _id_ACTION_BATTERY_CHANGED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_BATTERY_LOW = _class.staticFieldId( r'ACTION_BATTERY_LOW', @@ -9088,8 +9948,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_BATTERY_LOW` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_BATTERY_LOW => - _id_ACTION_BATTERY_LOW.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_BATTERY_LOW => + _id_ACTION_BATTERY_LOW.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_BATTERY_OKAY = _class.staticFieldId( r'ACTION_BATTERY_OKAY', @@ -9098,8 +9958,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_BATTERY_OKAY` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_BATTERY_OKAY => - _id_ACTION_BATTERY_OKAY.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_BATTERY_OKAY => + _id_ACTION_BATTERY_OKAY.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_BOOT_COMPLETED = _class.staticFieldId( r'ACTION_BOOT_COMPLETED', @@ -9108,8 +9968,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_BOOT_COMPLETED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_BOOT_COMPLETED => - _id_ACTION_BOOT_COMPLETED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_BOOT_COMPLETED => + _id_ACTION_BOOT_COMPLETED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_BUG_REPORT = _class.staticFieldId( r'ACTION_BUG_REPORT', @@ -9118,8 +9978,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_BUG_REPORT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_BUG_REPORT => - _id_ACTION_BUG_REPORT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_BUG_REPORT => + _id_ACTION_BUG_REPORT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_CALL = _class.staticFieldId( r'ACTION_CALL', @@ -9128,8 +9988,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_CALL` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_CALL => - _id_ACTION_CALL.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_CALL => + _id_ACTION_CALL.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_CALL_BUTTON = _class.staticFieldId( r'ACTION_CALL_BUTTON', @@ -9138,8 +9998,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_CALL_BUTTON` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_CALL_BUTTON => - _id_ACTION_CALL_BUTTON.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_CALL_BUTTON => + _id_ACTION_CALL_BUTTON.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_CAMERA_BUTTON = _class.staticFieldId( r'ACTION_CAMERA_BUTTON', @@ -9148,8 +10008,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_CAMERA_BUTTON` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_CAMERA_BUTTON => - _id_ACTION_CAMERA_BUTTON.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_CAMERA_BUTTON => + _id_ACTION_CAMERA_BUTTON.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_CARRIER_SETUP = _class.staticFieldId( r'ACTION_CARRIER_SETUP', @@ -9158,8 +10018,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_CARRIER_SETUP` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_CARRIER_SETUP => - _id_ACTION_CARRIER_SETUP.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_CARRIER_SETUP => + _id_ACTION_CARRIER_SETUP.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_CHOOSER = _class.staticFieldId( r'ACTION_CHOOSER', @@ -9168,8 +10028,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_CHOOSER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_CHOOSER => - _id_ACTION_CHOOSER.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_CHOOSER => + _id_ACTION_CHOOSER.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_CLOSE_SYSTEM_DIALOGS = _class.staticFieldId( r'ACTION_CLOSE_SYSTEM_DIALOGS', @@ -9178,8 +10038,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_CLOSE_SYSTEM_DIALOGS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_CLOSE_SYSTEM_DIALOGS => - _id_ACTION_CLOSE_SYSTEM_DIALOGS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_CLOSE_SYSTEM_DIALOGS => + _id_ACTION_CLOSE_SYSTEM_DIALOGS.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_CONFIGURATION_CHANGED = _class.staticFieldId( r'ACTION_CONFIGURATION_CHANGED', @@ -9188,8 +10049,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_CONFIGURATION_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_CONFIGURATION_CHANGED => - _id_ACTION_CONFIGURATION_CHANGED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_CONFIGURATION_CHANGED => + _id_ACTION_CONFIGURATION_CHANGED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_CREATE_DOCUMENT = _class.staticFieldId( r'ACTION_CREATE_DOCUMENT', @@ -9198,8 +10060,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_CREATE_DOCUMENT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_CREATE_DOCUMENT => - _id_ACTION_CREATE_DOCUMENT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_CREATE_DOCUMENT => + _id_ACTION_CREATE_DOCUMENT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_CREATE_REMINDER = _class.staticFieldId( r'ACTION_CREATE_REMINDER', @@ -9208,8 +10070,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_CREATE_REMINDER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_CREATE_REMINDER => - _id_ACTION_CREATE_REMINDER.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_CREATE_REMINDER => + _id_ACTION_CREATE_REMINDER.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_CREATE_SHORTCUT = _class.staticFieldId( r'ACTION_CREATE_SHORTCUT', @@ -9218,8 +10080,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_CREATE_SHORTCUT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_CREATE_SHORTCUT => - _id_ACTION_CREATE_SHORTCUT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_CREATE_SHORTCUT => + _id_ACTION_CREATE_SHORTCUT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_DATE_CHANGED = _class.staticFieldId( r'ACTION_DATE_CHANGED', @@ -9228,8 +10090,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_DATE_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_DATE_CHANGED => - _id_ACTION_DATE_CHANGED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_DATE_CHANGED => + _id_ACTION_DATE_CHANGED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_DEFAULT = _class.staticFieldId( r'ACTION_DEFAULT', @@ -9238,8 +10100,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_DEFAULT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_DEFAULT => - _id_ACTION_DEFAULT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_DEFAULT => + _id_ACTION_DEFAULT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_DEFINE = _class.staticFieldId( r'ACTION_DEFINE', @@ -9248,8 +10110,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_DEFINE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_DEFINE => - _id_ACTION_DEFINE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_DEFINE => + _id_ACTION_DEFINE.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_DELETE = _class.staticFieldId( r'ACTION_DELETE', @@ -9258,8 +10120,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_DELETE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_DELETE => - _id_ACTION_DELETE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_DELETE => + _id_ACTION_DELETE.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_DEVICE_STORAGE_LOW = _class.staticFieldId( r'ACTION_DEVICE_STORAGE_LOW', @@ -9268,8 +10130,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_DEVICE_STORAGE_LOW` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_DEVICE_STORAGE_LOW => - _id_ACTION_DEVICE_STORAGE_LOW.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_DEVICE_STORAGE_LOW => + _id_ACTION_DEVICE_STORAGE_LOW.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_DEVICE_STORAGE_OK = _class.staticFieldId( r'ACTION_DEVICE_STORAGE_OK', @@ -9278,8 +10141,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_DEVICE_STORAGE_OK` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_DEVICE_STORAGE_OK => - _id_ACTION_DEVICE_STORAGE_OK.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_DEVICE_STORAGE_OK => + _id_ACTION_DEVICE_STORAGE_OK.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_DIAL = _class.staticFieldId( r'ACTION_DIAL', @@ -9288,8 +10152,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_DIAL` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_DIAL => - _id_ACTION_DIAL.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_DIAL => + _id_ACTION_DIAL.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_DOCK_EVENT = _class.staticFieldId( r'ACTION_DOCK_EVENT', @@ -9298,8 +10162,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_DOCK_EVENT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_DOCK_EVENT => - _id_ACTION_DOCK_EVENT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_DOCK_EVENT => + _id_ACTION_DOCK_EVENT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_DREAMING_STARTED = _class.staticFieldId( r'ACTION_DREAMING_STARTED', @@ -9308,8 +10172,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_DREAMING_STARTED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_DREAMING_STARTED => - _id_ACTION_DREAMING_STARTED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_DREAMING_STARTED => + _id_ACTION_DREAMING_STARTED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_DREAMING_STOPPED = _class.staticFieldId( r'ACTION_DREAMING_STOPPED', @@ -9318,8 +10183,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_DREAMING_STOPPED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_DREAMING_STOPPED => - _id_ACTION_DREAMING_STOPPED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_DREAMING_STOPPED => + _id_ACTION_DREAMING_STOPPED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_EDIT = _class.staticFieldId( r'ACTION_EDIT', @@ -9328,8 +10194,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_EDIT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_EDIT => - _id_ACTION_EDIT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_EDIT => + _id_ACTION_EDIT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_EXTERNAL_APPLICATIONS_AVAILABLE = _class.staticFieldId( @@ -9339,9 +10205,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_EXTERNAL_APPLICATIONS_AVAILABLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_EXTERNAL_APPLICATIONS_AVAILABLE => + static jni$_.JString? get ACTION_EXTERNAL_APPLICATIONS_AVAILABLE => _id_ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE = _class.staticFieldId( @@ -9351,9 +10217,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE => + static jni$_.JString? get ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE => _id_ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_ACTION_FACTORY_TEST = _class.staticFieldId( r'ACTION_FACTORY_TEST', @@ -9362,8 +10228,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_FACTORY_TEST` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_FACTORY_TEST => - _id_ACTION_FACTORY_TEST.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_FACTORY_TEST => + _id_ACTION_FACTORY_TEST.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_GET_CONTENT = _class.staticFieldId( r'ACTION_GET_CONTENT', @@ -9372,8 +10238,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_GET_CONTENT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_GET_CONTENT => - _id_ACTION_GET_CONTENT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_GET_CONTENT => + _id_ACTION_GET_CONTENT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_GET_RESTRICTION_ENTRIES = _class.staticFieldId( r'ACTION_GET_RESTRICTION_ENTRIES', @@ -9382,8 +10248,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_GET_RESTRICTION_ENTRIES` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_GET_RESTRICTION_ENTRIES => - _id_ACTION_GET_RESTRICTION_ENTRIES.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_GET_RESTRICTION_ENTRIES => + _id_ACTION_GET_RESTRICTION_ENTRIES.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_GTALK_SERVICE_CONNECTED = _class.staticFieldId( r'ACTION_GTALK_SERVICE_CONNECTED', @@ -9392,8 +10259,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_GTALK_SERVICE_CONNECTED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_GTALK_SERVICE_CONNECTED => - _id_ACTION_GTALK_SERVICE_CONNECTED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_GTALK_SERVICE_CONNECTED => + _id_ACTION_GTALK_SERVICE_CONNECTED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_GTALK_SERVICE_DISCONNECTED = _class.staticFieldId( r'ACTION_GTALK_SERVICE_DISCONNECTED', @@ -9402,9 +10270,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_GTALK_SERVICE_DISCONNECTED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_GTALK_SERVICE_DISCONNECTED => + static jni$_.JString? get ACTION_GTALK_SERVICE_DISCONNECTED => _id_ACTION_GTALK_SERVICE_DISCONNECTED.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_ACTION_HEADSET_PLUG = _class.staticFieldId( r'ACTION_HEADSET_PLUG', @@ -9413,8 +10281,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_HEADSET_PLUG` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_HEADSET_PLUG => - _id_ACTION_HEADSET_PLUG.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_HEADSET_PLUG => + _id_ACTION_HEADSET_PLUG.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_INPUT_METHOD_CHANGED = _class.staticFieldId( r'ACTION_INPUT_METHOD_CHANGED', @@ -9423,8 +10291,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_INPUT_METHOD_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_INPUT_METHOD_CHANGED => - _id_ACTION_INPUT_METHOD_CHANGED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_INPUT_METHOD_CHANGED => + _id_ACTION_INPUT_METHOD_CHANGED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_INSERT = _class.staticFieldId( r'ACTION_INSERT', @@ -9433,8 +10302,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_INSERT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_INSERT => - _id_ACTION_INSERT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_INSERT => + _id_ACTION_INSERT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_INSERT_OR_EDIT = _class.staticFieldId( r'ACTION_INSERT_OR_EDIT', @@ -9443,8 +10312,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_INSERT_OR_EDIT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_INSERT_OR_EDIT => - _id_ACTION_INSERT_OR_EDIT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_INSERT_OR_EDIT => + _id_ACTION_INSERT_OR_EDIT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_INSTALL_FAILURE = _class.staticFieldId( r'ACTION_INSTALL_FAILURE', @@ -9453,8 +10322,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_INSTALL_FAILURE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_INSTALL_FAILURE => - _id_ACTION_INSTALL_FAILURE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_INSTALL_FAILURE => + _id_ACTION_INSTALL_FAILURE.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_INSTALL_PACKAGE = _class.staticFieldId( r'ACTION_INSTALL_PACKAGE', @@ -9463,8 +10332,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_INSTALL_PACKAGE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_INSTALL_PACKAGE => - _id_ACTION_INSTALL_PACKAGE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_INSTALL_PACKAGE => + _id_ACTION_INSTALL_PACKAGE.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_LOCALE_CHANGED = _class.staticFieldId( r'ACTION_LOCALE_CHANGED', @@ -9473,8 +10342,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_LOCALE_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_LOCALE_CHANGED => - _id_ACTION_LOCALE_CHANGED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_LOCALE_CHANGED => + _id_ACTION_LOCALE_CHANGED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_LOCKED_BOOT_COMPLETED = _class.staticFieldId( r'ACTION_LOCKED_BOOT_COMPLETED', @@ -9483,8 +10352,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_LOCKED_BOOT_COMPLETED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_LOCKED_BOOT_COMPLETED => - _id_ACTION_LOCKED_BOOT_COMPLETED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_LOCKED_BOOT_COMPLETED => + _id_ACTION_LOCKED_BOOT_COMPLETED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MAIN = _class.staticFieldId( r'ACTION_MAIN', @@ -9493,8 +10363,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MAIN` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MAIN => - _id_ACTION_MAIN.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MAIN => + _id_ACTION_MAIN.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_MANAGED_PROFILE_ADDED = _class.staticFieldId( r'ACTION_MANAGED_PROFILE_ADDED', @@ -9503,8 +10373,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MANAGED_PROFILE_ADDED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MANAGED_PROFILE_ADDED => - _id_ACTION_MANAGED_PROFILE_ADDED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MANAGED_PROFILE_ADDED => + _id_ACTION_MANAGED_PROFILE_ADDED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MANAGED_PROFILE_AVAILABLE = _class.staticFieldId( r'ACTION_MANAGED_PROFILE_AVAILABLE', @@ -9513,9 +10384,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MANAGED_PROFILE_AVAILABLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MANAGED_PROFILE_AVAILABLE => + static jni$_.JString? get ACTION_MANAGED_PROFILE_AVAILABLE => _id_ACTION_MANAGED_PROFILE_AVAILABLE.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MANAGED_PROFILE_REMOVED = _class.staticFieldId( r'ACTION_MANAGED_PROFILE_REMOVED', @@ -9524,8 +10395,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MANAGED_PROFILE_REMOVED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MANAGED_PROFILE_REMOVED => - _id_ACTION_MANAGED_PROFILE_REMOVED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MANAGED_PROFILE_REMOVED => + _id_ACTION_MANAGED_PROFILE_REMOVED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MANAGED_PROFILE_UNAVAILABLE = _class.staticFieldId( r'ACTION_MANAGED_PROFILE_UNAVAILABLE', @@ -9534,9 +10406,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MANAGED_PROFILE_UNAVAILABLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MANAGED_PROFILE_UNAVAILABLE => + static jni$_.JString? get ACTION_MANAGED_PROFILE_UNAVAILABLE => _id_ACTION_MANAGED_PROFILE_UNAVAILABLE.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MANAGED_PROFILE_UNLOCKED = _class.staticFieldId( r'ACTION_MANAGED_PROFILE_UNLOCKED', @@ -9545,9 +10417,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MANAGED_PROFILE_UNLOCKED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MANAGED_PROFILE_UNLOCKED => + static jni$_.JString? get ACTION_MANAGED_PROFILE_UNLOCKED => _id_ACTION_MANAGED_PROFILE_UNLOCKED.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MANAGE_NETWORK_USAGE = _class.staticFieldId( r'ACTION_MANAGE_NETWORK_USAGE', @@ -9556,8 +10428,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MANAGE_NETWORK_USAGE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MANAGE_NETWORK_USAGE => - _id_ACTION_MANAGE_NETWORK_USAGE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MANAGE_NETWORK_USAGE => + _id_ACTION_MANAGE_NETWORK_USAGE.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MANAGE_PACKAGE_STORAGE = _class.staticFieldId( r'ACTION_MANAGE_PACKAGE_STORAGE', @@ -9566,8 +10439,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MANAGE_PACKAGE_STORAGE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MANAGE_PACKAGE_STORAGE => - _id_ACTION_MANAGE_PACKAGE_STORAGE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MANAGE_PACKAGE_STORAGE => + _id_ACTION_MANAGE_PACKAGE_STORAGE.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MANAGE_UNUSED_APPS = _class.staticFieldId( r'ACTION_MANAGE_UNUSED_APPS', @@ -9576,8 +10450,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MANAGE_UNUSED_APPS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MANAGE_UNUSED_APPS => - _id_ACTION_MANAGE_UNUSED_APPS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MANAGE_UNUSED_APPS => + _id_ACTION_MANAGE_UNUSED_APPS.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MEDIA_BAD_REMOVAL = _class.staticFieldId( r'ACTION_MEDIA_BAD_REMOVAL', @@ -9586,8 +10461,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MEDIA_BAD_REMOVAL` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MEDIA_BAD_REMOVAL => - _id_ACTION_MEDIA_BAD_REMOVAL.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MEDIA_BAD_REMOVAL => + _id_ACTION_MEDIA_BAD_REMOVAL.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MEDIA_BUTTON = _class.staticFieldId( r'ACTION_MEDIA_BUTTON', @@ -9596,8 +10472,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MEDIA_BUTTON` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MEDIA_BUTTON => - _id_ACTION_MEDIA_BUTTON.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MEDIA_BUTTON => + _id_ACTION_MEDIA_BUTTON.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_MEDIA_CHECKING = _class.staticFieldId( r'ACTION_MEDIA_CHECKING', @@ -9606,8 +10482,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MEDIA_CHECKING` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MEDIA_CHECKING => - _id_ACTION_MEDIA_CHECKING.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MEDIA_CHECKING => + _id_ACTION_MEDIA_CHECKING.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_MEDIA_EJECT = _class.staticFieldId( r'ACTION_MEDIA_EJECT', @@ -9616,8 +10492,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MEDIA_EJECT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MEDIA_EJECT => - _id_ACTION_MEDIA_EJECT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MEDIA_EJECT => + _id_ACTION_MEDIA_EJECT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_MEDIA_MOUNTED = _class.staticFieldId( r'ACTION_MEDIA_MOUNTED', @@ -9626,8 +10502,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MEDIA_MOUNTED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MEDIA_MOUNTED => - _id_ACTION_MEDIA_MOUNTED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MEDIA_MOUNTED => + _id_ACTION_MEDIA_MOUNTED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_MEDIA_NOFS = _class.staticFieldId( r'ACTION_MEDIA_NOFS', @@ -9636,8 +10512,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MEDIA_NOFS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MEDIA_NOFS => - _id_ACTION_MEDIA_NOFS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MEDIA_NOFS => + _id_ACTION_MEDIA_NOFS.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_MEDIA_REMOVED = _class.staticFieldId( r'ACTION_MEDIA_REMOVED', @@ -9646,8 +10522,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MEDIA_REMOVED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MEDIA_REMOVED => - _id_ACTION_MEDIA_REMOVED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MEDIA_REMOVED => + _id_ACTION_MEDIA_REMOVED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_MEDIA_SCANNER_FINISHED = _class.staticFieldId( r'ACTION_MEDIA_SCANNER_FINISHED', @@ -9656,8 +10532,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MEDIA_SCANNER_FINISHED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MEDIA_SCANNER_FINISHED => - _id_ACTION_MEDIA_SCANNER_FINISHED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MEDIA_SCANNER_FINISHED => + _id_ACTION_MEDIA_SCANNER_FINISHED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MEDIA_SCANNER_SCAN_FILE = _class.staticFieldId( r'ACTION_MEDIA_SCANNER_SCAN_FILE', @@ -9666,8 +10543,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MEDIA_SCANNER_SCAN_FILE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MEDIA_SCANNER_SCAN_FILE => - _id_ACTION_MEDIA_SCANNER_SCAN_FILE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MEDIA_SCANNER_SCAN_FILE => + _id_ACTION_MEDIA_SCANNER_SCAN_FILE.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MEDIA_SCANNER_STARTED = _class.staticFieldId( r'ACTION_MEDIA_SCANNER_STARTED', @@ -9676,8 +10554,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MEDIA_SCANNER_STARTED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MEDIA_SCANNER_STARTED => - _id_ACTION_MEDIA_SCANNER_STARTED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MEDIA_SCANNER_STARTED => + _id_ACTION_MEDIA_SCANNER_STARTED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MEDIA_SHARED = _class.staticFieldId( r'ACTION_MEDIA_SHARED', @@ -9686,8 +10565,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MEDIA_SHARED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MEDIA_SHARED => - _id_ACTION_MEDIA_SHARED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MEDIA_SHARED => + _id_ACTION_MEDIA_SHARED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_MEDIA_UNMOUNTABLE = _class.staticFieldId( r'ACTION_MEDIA_UNMOUNTABLE', @@ -9696,8 +10575,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MEDIA_UNMOUNTABLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MEDIA_UNMOUNTABLE => - _id_ACTION_MEDIA_UNMOUNTABLE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MEDIA_UNMOUNTABLE => + _id_ACTION_MEDIA_UNMOUNTABLE.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MEDIA_UNMOUNTED = _class.staticFieldId( r'ACTION_MEDIA_UNMOUNTED', @@ -9706,8 +10586,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MEDIA_UNMOUNTED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MEDIA_UNMOUNTED => - _id_ACTION_MEDIA_UNMOUNTED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MEDIA_UNMOUNTED => + _id_ACTION_MEDIA_UNMOUNTED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_MY_PACKAGE_REPLACED = _class.staticFieldId( r'ACTION_MY_PACKAGE_REPLACED', @@ -9716,8 +10596,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MY_PACKAGE_REPLACED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MY_PACKAGE_REPLACED => - _id_ACTION_MY_PACKAGE_REPLACED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MY_PACKAGE_REPLACED => + _id_ACTION_MY_PACKAGE_REPLACED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MY_PACKAGE_SUSPENDED = _class.staticFieldId( r'ACTION_MY_PACKAGE_SUSPENDED', @@ -9726,8 +10607,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MY_PACKAGE_SUSPENDED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MY_PACKAGE_SUSPENDED => - _id_ACTION_MY_PACKAGE_SUSPENDED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MY_PACKAGE_SUSPENDED => + _id_ACTION_MY_PACKAGE_SUSPENDED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_MY_PACKAGE_UNSUSPENDED = _class.staticFieldId( r'ACTION_MY_PACKAGE_UNSUSPENDED', @@ -9736,8 +10618,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_MY_PACKAGE_UNSUSPENDED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_MY_PACKAGE_UNSUSPENDED => - _id_ACTION_MY_PACKAGE_UNSUSPENDED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_MY_PACKAGE_UNSUSPENDED => + _id_ACTION_MY_PACKAGE_UNSUSPENDED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_NEW_OUTGOING_CALL = _class.staticFieldId( r'ACTION_NEW_OUTGOING_CALL', @@ -9746,8 +10629,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_NEW_OUTGOING_CALL` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_NEW_OUTGOING_CALL => - _id_ACTION_NEW_OUTGOING_CALL.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_NEW_OUTGOING_CALL => + _id_ACTION_NEW_OUTGOING_CALL.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_OPEN_DOCUMENT = _class.staticFieldId( r'ACTION_OPEN_DOCUMENT', @@ -9756,8 +10640,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_OPEN_DOCUMENT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_OPEN_DOCUMENT => - _id_ACTION_OPEN_DOCUMENT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_OPEN_DOCUMENT => + _id_ACTION_OPEN_DOCUMENT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_OPEN_DOCUMENT_TREE = _class.staticFieldId( r'ACTION_OPEN_DOCUMENT_TREE', @@ -9766,8 +10650,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_OPEN_DOCUMENT_TREE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_OPEN_DOCUMENT_TREE => - _id_ACTION_OPEN_DOCUMENT_TREE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_OPEN_DOCUMENT_TREE => + _id_ACTION_OPEN_DOCUMENT_TREE.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_PACKAGES_SUSPENDED = _class.staticFieldId( r'ACTION_PACKAGES_SUSPENDED', @@ -9776,8 +10661,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PACKAGES_SUSPENDED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PACKAGES_SUSPENDED => - _id_ACTION_PACKAGES_SUSPENDED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PACKAGES_SUSPENDED => + _id_ACTION_PACKAGES_SUSPENDED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_PACKAGES_UNSUSPENDED = _class.staticFieldId( r'ACTION_PACKAGES_UNSUSPENDED', @@ -9786,8 +10672,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PACKAGES_UNSUSPENDED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PACKAGES_UNSUSPENDED => - _id_ACTION_PACKAGES_UNSUSPENDED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PACKAGES_UNSUSPENDED => + _id_ACTION_PACKAGES_UNSUSPENDED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_PACKAGE_ADDED = _class.staticFieldId( r'ACTION_PACKAGE_ADDED', @@ -9796,8 +10683,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PACKAGE_ADDED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PACKAGE_ADDED => - _id_ACTION_PACKAGE_ADDED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PACKAGE_ADDED => + _id_ACTION_PACKAGE_ADDED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_PACKAGE_CHANGED = _class.staticFieldId( r'ACTION_PACKAGE_CHANGED', @@ -9806,8 +10693,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PACKAGE_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PACKAGE_CHANGED => - _id_ACTION_PACKAGE_CHANGED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PACKAGE_CHANGED => + _id_ACTION_PACKAGE_CHANGED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_PACKAGE_DATA_CLEARED = _class.staticFieldId( r'ACTION_PACKAGE_DATA_CLEARED', @@ -9816,8 +10703,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PACKAGE_DATA_CLEARED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PACKAGE_DATA_CLEARED => - _id_ACTION_PACKAGE_DATA_CLEARED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PACKAGE_DATA_CLEARED => + _id_ACTION_PACKAGE_DATA_CLEARED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_PACKAGE_FIRST_LAUNCH = _class.staticFieldId( r'ACTION_PACKAGE_FIRST_LAUNCH', @@ -9826,8 +10714,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PACKAGE_FIRST_LAUNCH` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PACKAGE_FIRST_LAUNCH => - _id_ACTION_PACKAGE_FIRST_LAUNCH.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PACKAGE_FIRST_LAUNCH => + _id_ACTION_PACKAGE_FIRST_LAUNCH.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_PACKAGE_FULLY_REMOVED = _class.staticFieldId( r'ACTION_PACKAGE_FULLY_REMOVED', @@ -9836,8 +10725,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PACKAGE_FULLY_REMOVED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PACKAGE_FULLY_REMOVED => - _id_ACTION_PACKAGE_FULLY_REMOVED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PACKAGE_FULLY_REMOVED => + _id_ACTION_PACKAGE_FULLY_REMOVED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_PACKAGE_INSTALL = _class.staticFieldId( r'ACTION_PACKAGE_INSTALL', @@ -9846,8 +10736,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PACKAGE_INSTALL` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PACKAGE_INSTALL => - _id_ACTION_PACKAGE_INSTALL.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PACKAGE_INSTALL => + _id_ACTION_PACKAGE_INSTALL.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_PACKAGE_NEEDS_VERIFICATION = _class.staticFieldId( r'ACTION_PACKAGE_NEEDS_VERIFICATION', @@ -9856,9 +10746,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PACKAGE_NEEDS_VERIFICATION` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PACKAGE_NEEDS_VERIFICATION => + static jni$_.JString? get ACTION_PACKAGE_NEEDS_VERIFICATION => _id_ACTION_PACKAGE_NEEDS_VERIFICATION.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_ACTION_PACKAGE_REMOVED = _class.staticFieldId( r'ACTION_PACKAGE_REMOVED', @@ -9867,8 +10757,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PACKAGE_REMOVED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PACKAGE_REMOVED => - _id_ACTION_PACKAGE_REMOVED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PACKAGE_REMOVED => + _id_ACTION_PACKAGE_REMOVED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_PACKAGE_REPLACED = _class.staticFieldId( r'ACTION_PACKAGE_REPLACED', @@ -9877,8 +10767,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PACKAGE_REPLACED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PACKAGE_REPLACED => - _id_ACTION_PACKAGE_REPLACED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PACKAGE_REPLACED => + _id_ACTION_PACKAGE_REPLACED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_PACKAGE_RESTARTED = _class.staticFieldId( r'ACTION_PACKAGE_RESTARTED', @@ -9887,8 +10778,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PACKAGE_RESTARTED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PACKAGE_RESTARTED => - _id_ACTION_PACKAGE_RESTARTED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PACKAGE_RESTARTED => + _id_ACTION_PACKAGE_RESTARTED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_PACKAGE_VERIFIED = _class.staticFieldId( r'ACTION_PACKAGE_VERIFIED', @@ -9897,8 +10789,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PACKAGE_VERIFIED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PACKAGE_VERIFIED => - _id_ACTION_PACKAGE_VERIFIED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PACKAGE_VERIFIED => + _id_ACTION_PACKAGE_VERIFIED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_PASTE = _class.staticFieldId( r'ACTION_PASTE', @@ -9907,8 +10800,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PASTE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PASTE => - _id_ACTION_PASTE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PASTE => + _id_ACTION_PASTE.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_PICK = _class.staticFieldId( r'ACTION_PICK', @@ -9917,8 +10810,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PICK` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PICK => - _id_ACTION_PICK.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PICK => + _id_ACTION_PICK.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_PICK_ACTIVITY = _class.staticFieldId( r'ACTION_PICK_ACTIVITY', @@ -9927,8 +10820,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PICK_ACTIVITY` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PICK_ACTIVITY => - _id_ACTION_PICK_ACTIVITY.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PICK_ACTIVITY => + _id_ACTION_PICK_ACTIVITY.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_POWER_CONNECTED = _class.staticFieldId( r'ACTION_POWER_CONNECTED', @@ -9937,8 +10830,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_POWER_CONNECTED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_POWER_CONNECTED => - _id_ACTION_POWER_CONNECTED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_POWER_CONNECTED => + _id_ACTION_POWER_CONNECTED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_POWER_DISCONNECTED = _class.staticFieldId( r'ACTION_POWER_DISCONNECTED', @@ -9947,8 +10840,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_POWER_DISCONNECTED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_POWER_DISCONNECTED => - _id_ACTION_POWER_DISCONNECTED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_POWER_DISCONNECTED => + _id_ACTION_POWER_DISCONNECTED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_POWER_USAGE_SUMMARY = _class.staticFieldId( r'ACTION_POWER_USAGE_SUMMARY', @@ -9957,8 +10851,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_POWER_USAGE_SUMMARY` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_POWER_USAGE_SUMMARY => - _id_ACTION_POWER_USAGE_SUMMARY.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_POWER_USAGE_SUMMARY => + _id_ACTION_POWER_USAGE_SUMMARY.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_PROCESS_TEXT = _class.staticFieldId( r'ACTION_PROCESS_TEXT', @@ -9967,8 +10862,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PROCESS_TEXT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PROCESS_TEXT => - _id_ACTION_PROCESS_TEXT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PROCESS_TEXT => + _id_ACTION_PROCESS_TEXT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_PROFILE_ACCESSIBLE = _class.staticFieldId( r'ACTION_PROFILE_ACCESSIBLE', @@ -9977,8 +10872,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PROFILE_ACCESSIBLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PROFILE_ACCESSIBLE => - _id_ACTION_PROFILE_ACCESSIBLE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PROFILE_ACCESSIBLE => + _id_ACTION_PROFILE_ACCESSIBLE.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_PROFILE_INACCESSIBLE = _class.staticFieldId( r'ACTION_PROFILE_INACCESSIBLE', @@ -9987,8 +10883,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PROFILE_INACCESSIBLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PROFILE_INACCESSIBLE => - _id_ACTION_PROFILE_INACCESSIBLE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PROFILE_INACCESSIBLE => + _id_ACTION_PROFILE_INACCESSIBLE.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_PROVIDER_CHANGED = _class.staticFieldId( r'ACTION_PROVIDER_CHANGED', @@ -9997,8 +10894,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_PROVIDER_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_PROVIDER_CHANGED => - _id_ACTION_PROVIDER_CHANGED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_PROVIDER_CHANGED => + _id_ACTION_PROVIDER_CHANGED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_QUICK_CLOCK = _class.staticFieldId( r'ACTION_QUICK_CLOCK', @@ -10007,8 +10905,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_QUICK_CLOCK` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_QUICK_CLOCK => - _id_ACTION_QUICK_CLOCK.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_QUICK_CLOCK => + _id_ACTION_QUICK_CLOCK.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_QUICK_VIEW = _class.staticFieldId( r'ACTION_QUICK_VIEW', @@ -10017,8 +10915,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_QUICK_VIEW` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_QUICK_VIEW => - _id_ACTION_QUICK_VIEW.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_QUICK_VIEW => + _id_ACTION_QUICK_VIEW.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_REBOOT = _class.staticFieldId( r'ACTION_REBOOT', @@ -10027,8 +10925,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_REBOOT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_REBOOT => - _id_ACTION_REBOOT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_REBOOT => + _id_ACTION_REBOOT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_RUN = _class.staticFieldId( r'ACTION_RUN', @@ -10037,8 +10935,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_RUN` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_RUN => - _id_ACTION_RUN.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_RUN => + _id_ACTION_RUN.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_SAFETY_CENTER = _class.staticFieldId( r'ACTION_SAFETY_CENTER', @@ -10047,8 +10945,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SAFETY_CENTER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SAFETY_CENTER => - _id_ACTION_SAFETY_CENTER.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SAFETY_CENTER => + _id_ACTION_SAFETY_CENTER.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_SCREEN_OFF = _class.staticFieldId( r'ACTION_SCREEN_OFF', @@ -10057,8 +10955,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SCREEN_OFF` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SCREEN_OFF => - _id_ACTION_SCREEN_OFF.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SCREEN_OFF => + _id_ACTION_SCREEN_OFF.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_SCREEN_ON = _class.staticFieldId( r'ACTION_SCREEN_ON', @@ -10067,8 +10965,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SCREEN_ON` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SCREEN_ON => - _id_ACTION_SCREEN_ON.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SCREEN_ON => + _id_ACTION_SCREEN_ON.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_SEARCH = _class.staticFieldId( r'ACTION_SEARCH', @@ -10077,8 +10975,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SEARCH` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SEARCH => - _id_ACTION_SEARCH.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SEARCH => + _id_ACTION_SEARCH.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_SEARCH_LONG_PRESS = _class.staticFieldId( r'ACTION_SEARCH_LONG_PRESS', @@ -10087,8 +10985,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SEARCH_LONG_PRESS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SEARCH_LONG_PRESS => - _id_ACTION_SEARCH_LONG_PRESS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SEARCH_LONG_PRESS => + _id_ACTION_SEARCH_LONG_PRESS.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_SEND = _class.staticFieldId( r'ACTION_SEND', @@ -10097,8 +10996,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SEND` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SEND => - _id_ACTION_SEND.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SEND => + _id_ACTION_SEND.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_SENDTO = _class.staticFieldId( r'ACTION_SENDTO', @@ -10107,8 +11006,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SENDTO` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SENDTO => - _id_ACTION_SENDTO.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SENDTO => + _id_ACTION_SENDTO.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_SEND_MULTIPLE = _class.staticFieldId( r'ACTION_SEND_MULTIPLE', @@ -10117,8 +11016,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SEND_MULTIPLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SEND_MULTIPLE => - _id_ACTION_SEND_MULTIPLE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SEND_MULTIPLE => + _id_ACTION_SEND_MULTIPLE.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_SET_WALLPAPER = _class.staticFieldId( r'ACTION_SET_WALLPAPER', @@ -10127,8 +11026,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SET_WALLPAPER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SET_WALLPAPER => - _id_ACTION_SET_WALLPAPER.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SET_WALLPAPER => + _id_ACTION_SET_WALLPAPER.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_SHOW_APP_INFO = _class.staticFieldId( r'ACTION_SHOW_APP_INFO', @@ -10137,8 +11036,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SHOW_APP_INFO` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SHOW_APP_INFO => - _id_ACTION_SHOW_APP_INFO.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SHOW_APP_INFO => + _id_ACTION_SHOW_APP_INFO.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_SHOW_WORK_APPS = _class.staticFieldId( r'ACTION_SHOW_WORK_APPS', @@ -10147,8 +11046,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SHOW_WORK_APPS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SHOW_WORK_APPS => - _id_ACTION_SHOW_WORK_APPS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SHOW_WORK_APPS => + _id_ACTION_SHOW_WORK_APPS.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_SHUTDOWN = _class.staticFieldId( r'ACTION_SHUTDOWN', @@ -10157,8 +11056,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SHUTDOWN` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SHUTDOWN => - _id_ACTION_SHUTDOWN.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SHUTDOWN => + _id_ACTION_SHUTDOWN.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_SYNC = _class.staticFieldId( r'ACTION_SYNC', @@ -10167,8 +11066,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SYNC` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SYNC => - _id_ACTION_SYNC.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SYNC => + _id_ACTION_SYNC.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_SYSTEM_TUTORIAL = _class.staticFieldId( r'ACTION_SYSTEM_TUTORIAL', @@ -10177,8 +11076,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_SYSTEM_TUTORIAL` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_SYSTEM_TUTORIAL => - _id_ACTION_SYSTEM_TUTORIAL.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_SYSTEM_TUTORIAL => + _id_ACTION_SYSTEM_TUTORIAL.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_TIMEZONE_CHANGED = _class.staticFieldId( r'ACTION_TIMEZONE_CHANGED', @@ -10187,8 +11086,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_TIMEZONE_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_TIMEZONE_CHANGED => - _id_ACTION_TIMEZONE_CHANGED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_TIMEZONE_CHANGED => + _id_ACTION_TIMEZONE_CHANGED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_TIME_CHANGED = _class.staticFieldId( r'ACTION_TIME_CHANGED', @@ -10197,8 +11097,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_TIME_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_TIME_CHANGED => - _id_ACTION_TIME_CHANGED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_TIME_CHANGED => + _id_ACTION_TIME_CHANGED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_TIME_TICK = _class.staticFieldId( r'ACTION_TIME_TICK', @@ -10207,8 +11107,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_TIME_TICK` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_TIME_TICK => - _id_ACTION_TIME_TICK.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_TIME_TICK => + _id_ACTION_TIME_TICK.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_TRANSLATE = _class.staticFieldId( r'ACTION_TRANSLATE', @@ -10217,8 +11117,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_TRANSLATE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_TRANSLATE => - _id_ACTION_TRANSLATE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_TRANSLATE => + _id_ACTION_TRANSLATE.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_UID_REMOVED = _class.staticFieldId( r'ACTION_UID_REMOVED', @@ -10227,8 +11127,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_UID_REMOVED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_UID_REMOVED => - _id_ACTION_UID_REMOVED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_UID_REMOVED => + _id_ACTION_UID_REMOVED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_UMS_CONNECTED = _class.staticFieldId( r'ACTION_UMS_CONNECTED', @@ -10237,8 +11137,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_UMS_CONNECTED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_UMS_CONNECTED => - _id_ACTION_UMS_CONNECTED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_UMS_CONNECTED => + _id_ACTION_UMS_CONNECTED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_UMS_DISCONNECTED = _class.staticFieldId( r'ACTION_UMS_DISCONNECTED', @@ -10247,8 +11147,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_UMS_DISCONNECTED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_UMS_DISCONNECTED => - _id_ACTION_UMS_DISCONNECTED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_UMS_DISCONNECTED => + _id_ACTION_UMS_DISCONNECTED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_UNINSTALL_PACKAGE = _class.staticFieldId( r'ACTION_UNINSTALL_PACKAGE', @@ -10257,8 +11158,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_UNINSTALL_PACKAGE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_UNINSTALL_PACKAGE => - _id_ACTION_UNINSTALL_PACKAGE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_UNINSTALL_PACKAGE => + _id_ACTION_UNINSTALL_PACKAGE.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_USER_BACKGROUND = _class.staticFieldId( r'ACTION_USER_BACKGROUND', @@ -10267,8 +11169,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_USER_BACKGROUND` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_USER_BACKGROUND => - _id_ACTION_USER_BACKGROUND.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_USER_BACKGROUND => + _id_ACTION_USER_BACKGROUND.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_USER_FOREGROUND = _class.staticFieldId( r'ACTION_USER_FOREGROUND', @@ -10277,8 +11179,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_USER_FOREGROUND` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_USER_FOREGROUND => - _id_ACTION_USER_FOREGROUND.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_USER_FOREGROUND => + _id_ACTION_USER_FOREGROUND.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_USER_INITIALIZE = _class.staticFieldId( r'ACTION_USER_INITIALIZE', @@ -10287,8 +11189,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_USER_INITIALIZE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_USER_INITIALIZE => - _id_ACTION_USER_INITIALIZE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_USER_INITIALIZE => + _id_ACTION_USER_INITIALIZE.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_USER_PRESENT = _class.staticFieldId( r'ACTION_USER_PRESENT', @@ -10297,8 +11199,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_USER_PRESENT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_USER_PRESENT => - _id_ACTION_USER_PRESENT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_USER_PRESENT => + _id_ACTION_USER_PRESENT.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_USER_UNLOCKED = _class.staticFieldId( r'ACTION_USER_UNLOCKED', @@ -10307,8 +11209,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_USER_UNLOCKED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_USER_UNLOCKED => - _id_ACTION_USER_UNLOCKED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_USER_UNLOCKED => + _id_ACTION_USER_UNLOCKED.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_VIEW = _class.staticFieldId( r'ACTION_VIEW', @@ -10317,8 +11219,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_VIEW` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_VIEW => - _id_ACTION_VIEW.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_VIEW => + _id_ACTION_VIEW.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_VIEW_LOCUS = _class.staticFieldId( r'ACTION_VIEW_LOCUS', @@ -10327,8 +11229,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_VIEW_LOCUS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_VIEW_LOCUS => - _id_ACTION_VIEW_LOCUS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_VIEW_LOCUS => + _id_ACTION_VIEW_LOCUS.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_VIEW_PERMISSION_USAGE = _class.staticFieldId( r'ACTION_VIEW_PERMISSION_USAGE', @@ -10337,8 +11239,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_VIEW_PERMISSION_USAGE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_VIEW_PERMISSION_USAGE => - _id_ACTION_VIEW_PERMISSION_USAGE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_VIEW_PERMISSION_USAGE => + _id_ACTION_VIEW_PERMISSION_USAGE.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD = _class.staticFieldId( @@ -10348,9 +11251,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD => + static jni$_.JString? get ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD => _id_ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_ACTION_VOICE_COMMAND = _class.staticFieldId( r'ACTION_VOICE_COMMAND', @@ -10359,8 +11262,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_VOICE_COMMAND` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_VOICE_COMMAND => - _id_ACTION_VOICE_COMMAND.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_VOICE_COMMAND => + _id_ACTION_VOICE_COMMAND.get(_class, const jni$_.JStringNullableType()); static final _id_ACTION_WALLPAPER_CHANGED = _class.staticFieldId( r'ACTION_WALLPAPER_CHANGED', @@ -10369,8 +11272,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_WALLPAPER_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_WALLPAPER_CHANGED => - _id_ACTION_WALLPAPER_CHANGED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_WALLPAPER_CHANGED => + _id_ACTION_WALLPAPER_CHANGED.get( + _class, const jni$_.JStringNullableType()); static final _id_ACTION_WEB_SEARCH = _class.staticFieldId( r'ACTION_WEB_SEARCH', @@ -10379,8 +11283,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String ACTION_WEB_SEARCH` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get ACTION_WEB_SEARCH => - _id_ACTION_WEB_SEARCH.get(_class, const _$jni.JStringType()); + static jni$_.JString? get ACTION_WEB_SEARCH => + _id_ACTION_WEB_SEARCH.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET = _class.staticFieldId( @@ -10390,9 +11294,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET => + static jni$_.JString? get CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET => _id_CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_CATEGORY_ALTERNATIVE = _class.staticFieldId( r'CATEGORY_ALTERNATIVE', @@ -10401,8 +11305,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_ALTERNATIVE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_ALTERNATIVE => - _id_CATEGORY_ALTERNATIVE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_ALTERNATIVE => + _id_CATEGORY_ALTERNATIVE.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_APP_BROWSER = _class.staticFieldId( r'CATEGORY_APP_BROWSER', @@ -10411,8 +11315,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_APP_BROWSER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_APP_BROWSER => - _id_CATEGORY_APP_BROWSER.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_APP_BROWSER => + _id_CATEGORY_APP_BROWSER.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_APP_CALCULATOR = _class.staticFieldId( r'CATEGORY_APP_CALCULATOR', @@ -10421,8 +11325,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_APP_CALCULATOR` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_APP_CALCULATOR => - _id_CATEGORY_APP_CALCULATOR.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_APP_CALCULATOR => + _id_CATEGORY_APP_CALCULATOR.get( + _class, const jni$_.JStringNullableType()); static final _id_CATEGORY_APP_CALENDAR = _class.staticFieldId( r'CATEGORY_APP_CALENDAR', @@ -10431,8 +11336,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_APP_CALENDAR` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_APP_CALENDAR => - _id_CATEGORY_APP_CALENDAR.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_APP_CALENDAR => + _id_CATEGORY_APP_CALENDAR.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_APP_CONTACTS = _class.staticFieldId( r'CATEGORY_APP_CONTACTS', @@ -10441,8 +11346,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_APP_CONTACTS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_APP_CONTACTS => - _id_CATEGORY_APP_CONTACTS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_APP_CONTACTS => + _id_CATEGORY_APP_CONTACTS.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_APP_EMAIL = _class.staticFieldId( r'CATEGORY_APP_EMAIL', @@ -10451,8 +11356,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_APP_EMAIL` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_APP_EMAIL => - _id_CATEGORY_APP_EMAIL.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_APP_EMAIL => + _id_CATEGORY_APP_EMAIL.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_APP_FILES = _class.staticFieldId( r'CATEGORY_APP_FILES', @@ -10461,8 +11366,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_APP_FILES` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_APP_FILES => - _id_CATEGORY_APP_FILES.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_APP_FILES => + _id_CATEGORY_APP_FILES.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_APP_FITNESS = _class.staticFieldId( r'CATEGORY_APP_FITNESS', @@ -10471,8 +11376,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_APP_FITNESS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_APP_FITNESS => - _id_CATEGORY_APP_FITNESS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_APP_FITNESS => + _id_CATEGORY_APP_FITNESS.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_APP_GALLERY = _class.staticFieldId( r'CATEGORY_APP_GALLERY', @@ -10481,8 +11386,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_APP_GALLERY` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_APP_GALLERY => - _id_CATEGORY_APP_GALLERY.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_APP_GALLERY => + _id_CATEGORY_APP_GALLERY.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_APP_MAPS = _class.staticFieldId( r'CATEGORY_APP_MAPS', @@ -10491,8 +11396,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_APP_MAPS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_APP_MAPS => - _id_CATEGORY_APP_MAPS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_APP_MAPS => + _id_CATEGORY_APP_MAPS.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_APP_MARKET = _class.staticFieldId( r'CATEGORY_APP_MARKET', @@ -10501,8 +11406,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_APP_MARKET` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_APP_MARKET => - _id_CATEGORY_APP_MARKET.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_APP_MARKET => + _id_CATEGORY_APP_MARKET.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_APP_MESSAGING = _class.staticFieldId( r'CATEGORY_APP_MESSAGING', @@ -10511,8 +11416,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_APP_MESSAGING` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_APP_MESSAGING => - _id_CATEGORY_APP_MESSAGING.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_APP_MESSAGING => + _id_CATEGORY_APP_MESSAGING.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_APP_MUSIC = _class.staticFieldId( r'CATEGORY_APP_MUSIC', @@ -10521,8 +11426,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_APP_MUSIC` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_APP_MUSIC => - _id_CATEGORY_APP_MUSIC.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_APP_MUSIC => + _id_CATEGORY_APP_MUSIC.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_APP_WEATHER = _class.staticFieldId( r'CATEGORY_APP_WEATHER', @@ -10531,8 +11436,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_APP_WEATHER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_APP_WEATHER => - _id_CATEGORY_APP_WEATHER.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_APP_WEATHER => + _id_CATEGORY_APP_WEATHER.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_BROWSABLE = _class.staticFieldId( r'CATEGORY_BROWSABLE', @@ -10541,8 +11446,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_BROWSABLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_BROWSABLE => - _id_CATEGORY_BROWSABLE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_BROWSABLE => + _id_CATEGORY_BROWSABLE.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_CAR_DOCK = _class.staticFieldId( r'CATEGORY_CAR_DOCK', @@ -10551,8 +11456,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_CAR_DOCK` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_CAR_DOCK => - _id_CATEGORY_CAR_DOCK.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_CAR_DOCK => + _id_CATEGORY_CAR_DOCK.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_CAR_MODE = _class.staticFieldId( r'CATEGORY_CAR_MODE', @@ -10561,8 +11466,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_CAR_MODE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_CAR_MODE => - _id_CATEGORY_CAR_MODE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_CAR_MODE => + _id_CATEGORY_CAR_MODE.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_DEFAULT = _class.staticFieldId( r'CATEGORY_DEFAULT', @@ -10571,8 +11476,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_DEFAULT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_DEFAULT => - _id_CATEGORY_DEFAULT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_DEFAULT => + _id_CATEGORY_DEFAULT.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_DESK_DOCK = _class.staticFieldId( r'CATEGORY_DESK_DOCK', @@ -10581,8 +11486,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_DESK_DOCK` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_DESK_DOCK => - _id_CATEGORY_DESK_DOCK.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_DESK_DOCK => + _id_CATEGORY_DESK_DOCK.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_DEVELOPMENT_PREFERENCE = _class.staticFieldId( r'CATEGORY_DEVELOPMENT_PREFERENCE', @@ -10591,9 +11496,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_DEVELOPMENT_PREFERENCE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_DEVELOPMENT_PREFERENCE => + static jni$_.JString? get CATEGORY_DEVELOPMENT_PREFERENCE => _id_CATEGORY_DEVELOPMENT_PREFERENCE.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_CATEGORY_EMBED = _class.staticFieldId( r'CATEGORY_EMBED', @@ -10602,8 +11507,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_EMBED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_EMBED => - _id_CATEGORY_EMBED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_EMBED => + _id_CATEGORY_EMBED.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST = _class.staticFieldId( @@ -10613,9 +11518,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST => + static jni$_.JString? get CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST => _id_CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_CATEGORY_HE_DESK_DOCK = _class.staticFieldId( r'CATEGORY_HE_DESK_DOCK', @@ -10624,8 +11529,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_HE_DESK_DOCK` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_HE_DESK_DOCK => - _id_CATEGORY_HE_DESK_DOCK.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_HE_DESK_DOCK => + _id_CATEGORY_HE_DESK_DOCK.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_HOME = _class.staticFieldId( r'CATEGORY_HOME', @@ -10634,8 +11539,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_HOME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_HOME => - _id_CATEGORY_HOME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_HOME => + _id_CATEGORY_HOME.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_INFO = _class.staticFieldId( r'CATEGORY_INFO', @@ -10644,8 +11549,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_INFO` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_INFO => - _id_CATEGORY_INFO.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_INFO => + _id_CATEGORY_INFO.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_LAUNCHER = _class.staticFieldId( r'CATEGORY_LAUNCHER', @@ -10654,8 +11559,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_LAUNCHER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_LAUNCHER => - _id_CATEGORY_LAUNCHER.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_LAUNCHER => + _id_CATEGORY_LAUNCHER.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_LEANBACK_LAUNCHER = _class.staticFieldId( r'CATEGORY_LEANBACK_LAUNCHER', @@ -10664,8 +11569,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_LEANBACK_LAUNCHER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_LEANBACK_LAUNCHER => - _id_CATEGORY_LEANBACK_LAUNCHER.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_LEANBACK_LAUNCHER => + _id_CATEGORY_LEANBACK_LAUNCHER.get( + _class, const jni$_.JStringNullableType()); static final _id_CATEGORY_LE_DESK_DOCK = _class.staticFieldId( r'CATEGORY_LE_DESK_DOCK', @@ -10674,8 +11580,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_LE_DESK_DOCK` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_LE_DESK_DOCK => - _id_CATEGORY_LE_DESK_DOCK.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_LE_DESK_DOCK => + _id_CATEGORY_LE_DESK_DOCK.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_MONKEY = _class.staticFieldId( r'CATEGORY_MONKEY', @@ -10684,8 +11590,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_MONKEY` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_MONKEY => - _id_CATEGORY_MONKEY.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_MONKEY => + _id_CATEGORY_MONKEY.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_OPENABLE = _class.staticFieldId( r'CATEGORY_OPENABLE', @@ -10694,8 +11600,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_OPENABLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_OPENABLE => - _id_CATEGORY_OPENABLE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_OPENABLE => + _id_CATEGORY_OPENABLE.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_PREFERENCE = _class.staticFieldId( r'CATEGORY_PREFERENCE', @@ -10704,8 +11610,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_PREFERENCE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_PREFERENCE => - _id_CATEGORY_PREFERENCE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_PREFERENCE => + _id_CATEGORY_PREFERENCE.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_SAMPLE_CODE = _class.staticFieldId( r'CATEGORY_SAMPLE_CODE', @@ -10714,8 +11620,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_SAMPLE_CODE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_SAMPLE_CODE => - _id_CATEGORY_SAMPLE_CODE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_SAMPLE_CODE => + _id_CATEGORY_SAMPLE_CODE.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_SECONDARY_HOME = _class.staticFieldId( r'CATEGORY_SECONDARY_HOME', @@ -10724,8 +11630,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_SECONDARY_HOME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_SECONDARY_HOME => - _id_CATEGORY_SECONDARY_HOME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_SECONDARY_HOME => + _id_CATEGORY_SECONDARY_HOME.get( + _class, const jni$_.JStringNullableType()); static final _id_CATEGORY_SELECTED_ALTERNATIVE = _class.staticFieldId( r'CATEGORY_SELECTED_ALTERNATIVE', @@ -10734,8 +11641,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_SELECTED_ALTERNATIVE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_SELECTED_ALTERNATIVE => - _id_CATEGORY_SELECTED_ALTERNATIVE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_SELECTED_ALTERNATIVE => + _id_CATEGORY_SELECTED_ALTERNATIVE.get( + _class, const jni$_.JStringNullableType()); static final _id_CATEGORY_TAB = _class.staticFieldId( r'CATEGORY_TAB', @@ -10744,8 +11652,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_TAB` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_TAB => - _id_CATEGORY_TAB.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_TAB => + _id_CATEGORY_TAB.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_TEST = _class.staticFieldId( r'CATEGORY_TEST', @@ -10754,8 +11662,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_TEST` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_TEST => - _id_CATEGORY_TEST.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_TEST => + _id_CATEGORY_TEST.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_TYPED_OPENABLE = _class.staticFieldId( r'CATEGORY_TYPED_OPENABLE', @@ -10764,8 +11672,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_TYPED_OPENABLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_TYPED_OPENABLE => - _id_CATEGORY_TYPED_OPENABLE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_TYPED_OPENABLE => + _id_CATEGORY_TYPED_OPENABLE.get( + _class, const jni$_.JStringNullableType()); static final _id_CATEGORY_UNIT_TEST = _class.staticFieldId( r'CATEGORY_UNIT_TEST', @@ -10774,8 +11683,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_UNIT_TEST` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_UNIT_TEST => - _id_CATEGORY_UNIT_TEST.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_UNIT_TEST => + _id_CATEGORY_UNIT_TEST.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_VOICE = _class.staticFieldId( r'CATEGORY_VOICE', @@ -10784,8 +11693,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_VOICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_VOICE => - _id_CATEGORY_VOICE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_VOICE => + _id_CATEGORY_VOICE.get(_class, const jni$_.JStringNullableType()); static final _id_CATEGORY_VR_HOME = _class.staticFieldId( r'CATEGORY_VR_HOME', @@ -10794,8 +11703,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String CATEGORY_VR_HOME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get CATEGORY_VR_HOME => - _id_CATEGORY_VR_HOME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get CATEGORY_VR_HOME => + _id_CATEGORY_VR_HOME.get(_class, const jni$_.JStringNullableType()); static final _id_CREATOR = _class.staticFieldId( r'CREATOR', @@ -10804,8 +11713,8 @@ class Intent extends _$jni.JObject { /// from: `static public final android.os.Parcelable$Creator CREATOR` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JObject get CREATOR => - _id_CREATOR.get(_class, const _$jni.JObjectType()); + static jni$_.JObject? get CREATOR => + _id_CREATOR.get(_class, const jni$_.JObjectNullableType()); static final _id_EXTRA_ALARM_COUNT = _class.staticFieldId( r'EXTRA_ALARM_COUNT', @@ -10814,8 +11723,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_ALARM_COUNT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_ALARM_COUNT => - _id_EXTRA_ALARM_COUNT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_ALARM_COUNT => + _id_EXTRA_ALARM_COUNT.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_ALLOW_MULTIPLE = _class.staticFieldId( r'EXTRA_ALLOW_MULTIPLE', @@ -10824,8 +11733,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_ALLOW_MULTIPLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_ALLOW_MULTIPLE => - _id_EXTRA_ALLOW_MULTIPLE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_ALLOW_MULTIPLE => + _id_EXTRA_ALLOW_MULTIPLE.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_ALLOW_REPLACE = _class.staticFieldId( r'EXTRA_ALLOW_REPLACE', @@ -10834,8 +11743,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_ALLOW_REPLACE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_ALLOW_REPLACE => - _id_EXTRA_ALLOW_REPLACE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_ALLOW_REPLACE => + _id_EXTRA_ALLOW_REPLACE.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_ALTERNATE_INTENTS = _class.staticFieldId( r'EXTRA_ALTERNATE_INTENTS', @@ -10844,8 +11753,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_ALTERNATE_INTENTS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_ALTERNATE_INTENTS => - _id_EXTRA_ALTERNATE_INTENTS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_ALTERNATE_INTENTS => + _id_EXTRA_ALTERNATE_INTENTS.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_ASSIST_CONTEXT = _class.staticFieldId( r'EXTRA_ASSIST_CONTEXT', @@ -10854,8 +11764,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_ASSIST_CONTEXT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_ASSIST_CONTEXT => - _id_EXTRA_ASSIST_CONTEXT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_ASSIST_CONTEXT => + _id_EXTRA_ASSIST_CONTEXT.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_ASSIST_INPUT_DEVICE_ID = _class.staticFieldId( r'EXTRA_ASSIST_INPUT_DEVICE_ID', @@ -10864,8 +11774,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_ASSIST_INPUT_DEVICE_ID` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_ASSIST_INPUT_DEVICE_ID => - _id_EXTRA_ASSIST_INPUT_DEVICE_ID.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_ASSIST_INPUT_DEVICE_ID => + _id_EXTRA_ASSIST_INPUT_DEVICE_ID.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_ASSIST_INPUT_HINT_KEYBOARD = _class.staticFieldId( r'EXTRA_ASSIST_INPUT_HINT_KEYBOARD', @@ -10874,9 +11785,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_ASSIST_INPUT_HINT_KEYBOARD` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_ASSIST_INPUT_HINT_KEYBOARD => + static jni$_.JString? get EXTRA_ASSIST_INPUT_HINT_KEYBOARD => _id_EXTRA_ASSIST_INPUT_HINT_KEYBOARD.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_ASSIST_PACKAGE = _class.staticFieldId( r'EXTRA_ASSIST_PACKAGE', @@ -10885,8 +11796,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_ASSIST_PACKAGE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_ASSIST_PACKAGE => - _id_EXTRA_ASSIST_PACKAGE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_ASSIST_PACKAGE => + _id_EXTRA_ASSIST_PACKAGE.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_ASSIST_UID = _class.staticFieldId( r'EXTRA_ASSIST_UID', @@ -10895,8 +11806,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_ASSIST_UID` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_ASSIST_UID => - _id_EXTRA_ASSIST_UID.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_ASSIST_UID => + _id_EXTRA_ASSIST_UID.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_ATTRIBUTION_TAGS = _class.staticFieldId( r'EXTRA_ATTRIBUTION_TAGS', @@ -10905,8 +11816,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_ATTRIBUTION_TAGS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_ATTRIBUTION_TAGS => - _id_EXTRA_ATTRIBUTION_TAGS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_ATTRIBUTION_TAGS => + _id_EXTRA_ATTRIBUTION_TAGS.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_AUTO_LAUNCH_SINGLE_CHOICE = _class.staticFieldId( r'EXTRA_AUTO_LAUNCH_SINGLE_CHOICE', @@ -10915,9 +11826,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_AUTO_LAUNCH_SINGLE_CHOICE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_AUTO_LAUNCH_SINGLE_CHOICE => + static jni$_.JString? get EXTRA_AUTO_LAUNCH_SINGLE_CHOICE => _id_EXTRA_AUTO_LAUNCH_SINGLE_CHOICE.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_BCC = _class.staticFieldId( r'EXTRA_BCC', @@ -10926,8 +11837,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_BCC` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_BCC => - _id_EXTRA_BCC.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_BCC => + _id_EXTRA_BCC.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_BUG_REPORT = _class.staticFieldId( r'EXTRA_BUG_REPORT', @@ -10936,8 +11847,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_BUG_REPORT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_BUG_REPORT => - _id_EXTRA_BUG_REPORT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_BUG_REPORT => + _id_EXTRA_BUG_REPORT.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_CC = _class.staticFieldId( r'EXTRA_CC', @@ -10946,8 +11857,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_CC` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_CC => - _id_EXTRA_CC.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_CC => + _id_EXTRA_CC.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_CHANGED_COMPONENT_NAME = _class.staticFieldId( r'EXTRA_CHANGED_COMPONENT_NAME', @@ -10956,8 +11867,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_CHANGED_COMPONENT_NAME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_CHANGED_COMPONENT_NAME => - _id_EXTRA_CHANGED_COMPONENT_NAME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_CHANGED_COMPONENT_NAME => + _id_EXTRA_CHANGED_COMPONENT_NAME.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_CHANGED_COMPONENT_NAME_LIST = _class.staticFieldId( r'EXTRA_CHANGED_COMPONENT_NAME_LIST', @@ -10966,9 +11878,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_CHANGED_COMPONENT_NAME_LIST` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_CHANGED_COMPONENT_NAME_LIST => + static jni$_.JString? get EXTRA_CHANGED_COMPONENT_NAME_LIST => _id_EXTRA_CHANGED_COMPONENT_NAME_LIST.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_CHANGED_PACKAGE_LIST = _class.staticFieldId( r'EXTRA_CHANGED_PACKAGE_LIST', @@ -10977,8 +11889,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_CHANGED_PACKAGE_LIST` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_CHANGED_PACKAGE_LIST => - _id_EXTRA_CHANGED_PACKAGE_LIST.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_CHANGED_PACKAGE_LIST => + _id_EXTRA_CHANGED_PACKAGE_LIST.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_CHANGED_UID_LIST = _class.staticFieldId( r'EXTRA_CHANGED_UID_LIST', @@ -10987,8 +11900,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_CHANGED_UID_LIST` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_CHANGED_UID_LIST => - _id_EXTRA_CHANGED_UID_LIST.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_CHANGED_UID_LIST => + _id_EXTRA_CHANGED_UID_LIST.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER = _class.staticFieldId( @@ -10998,9 +11911,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER => + static jni$_.JString? get EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER => _id_EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_CHOOSER_TARGETS = _class.staticFieldId( r'EXTRA_CHOOSER_TARGETS', @@ -11009,8 +11922,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_CHOOSER_TARGETS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_CHOOSER_TARGETS => - _id_EXTRA_CHOOSER_TARGETS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_CHOOSER_TARGETS => + _id_EXTRA_CHOOSER_TARGETS.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_CHOSEN_COMPONENT = _class.staticFieldId( r'EXTRA_CHOSEN_COMPONENT', @@ -11019,8 +11932,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_CHOSEN_COMPONENT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_CHOSEN_COMPONENT => - _id_EXTRA_CHOSEN_COMPONENT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_CHOSEN_COMPONENT => + _id_EXTRA_CHOSEN_COMPONENT.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_CHOSEN_COMPONENT_INTENT_SENDER = _class.staticFieldId( r'EXTRA_CHOSEN_COMPONENT_INTENT_SENDER', @@ -11029,9 +11942,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_CHOSEN_COMPONENT_INTENT_SENDER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_CHOSEN_COMPONENT_INTENT_SENDER => + static jni$_.JString? get EXTRA_CHOSEN_COMPONENT_INTENT_SENDER => _id_EXTRA_CHOSEN_COMPONENT_INTENT_SENDER.get( - _class, const _$jni.JStringType()); + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_COMPONENT_NAME = _class.staticFieldId( r'EXTRA_COMPONENT_NAME', @@ -11040,8 +11953,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_COMPONENT_NAME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_COMPONENT_NAME => - _id_EXTRA_COMPONENT_NAME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_COMPONENT_NAME => + _id_EXTRA_COMPONENT_NAME.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_CONTENT_ANNOTATIONS = _class.staticFieldId( r'EXTRA_CONTENT_ANNOTATIONS', @@ -11050,8 +11963,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_CONTENT_ANNOTATIONS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_CONTENT_ANNOTATIONS => - _id_EXTRA_CONTENT_ANNOTATIONS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_CONTENT_ANNOTATIONS => + _id_EXTRA_CONTENT_ANNOTATIONS.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_CONTENT_QUERY = _class.staticFieldId( r'EXTRA_CONTENT_QUERY', @@ -11060,8 +11974,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_CONTENT_QUERY` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_CONTENT_QUERY => - _id_EXTRA_CONTENT_QUERY.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_CONTENT_QUERY => + _id_EXTRA_CONTENT_QUERY.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_DATA_REMOVED = _class.staticFieldId( r'EXTRA_DATA_REMOVED', @@ -11070,8 +11984,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_DATA_REMOVED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_DATA_REMOVED => - _id_EXTRA_DATA_REMOVED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_DATA_REMOVED => + _id_EXTRA_DATA_REMOVED.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_DOCK_STATE = _class.staticFieldId( r'EXTRA_DOCK_STATE', @@ -11080,8 +11994,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_DOCK_STATE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_DOCK_STATE => - _id_EXTRA_DOCK_STATE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_DOCK_STATE => + _id_EXTRA_DOCK_STATE.get(_class, const jni$_.JStringNullableType()); /// from: `static public final int EXTRA_DOCK_STATE_CAR` static const EXTRA_DOCK_STATE_CAR = 2; @@ -11104,8 +12018,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_DONT_KILL_APP` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_DONT_KILL_APP => - _id_EXTRA_DONT_KILL_APP.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_DONT_KILL_APP => + _id_EXTRA_DONT_KILL_APP.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_DURATION_MILLIS = _class.staticFieldId( r'EXTRA_DURATION_MILLIS', @@ -11114,8 +12028,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_DURATION_MILLIS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_DURATION_MILLIS => - _id_EXTRA_DURATION_MILLIS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_DURATION_MILLIS => + _id_EXTRA_DURATION_MILLIS.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_EMAIL = _class.staticFieldId( r'EXTRA_EMAIL', @@ -11124,8 +12038,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_EMAIL` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_EMAIL => - _id_EXTRA_EMAIL.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_EMAIL => + _id_EXTRA_EMAIL.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_END_TIME = _class.staticFieldId( r'EXTRA_END_TIME', @@ -11134,8 +12048,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_END_TIME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_END_TIME => - _id_EXTRA_END_TIME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_END_TIME => + _id_EXTRA_END_TIME.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_EXCLUDE_COMPONENTS = _class.staticFieldId( r'EXTRA_EXCLUDE_COMPONENTS', @@ -11144,8 +12058,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_EXCLUDE_COMPONENTS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_EXCLUDE_COMPONENTS => - _id_EXTRA_EXCLUDE_COMPONENTS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_EXCLUDE_COMPONENTS => + _id_EXTRA_EXCLUDE_COMPONENTS.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_FROM_STORAGE = _class.staticFieldId( r'EXTRA_FROM_STORAGE', @@ -11154,8 +12069,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_FROM_STORAGE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_FROM_STORAGE => - _id_EXTRA_FROM_STORAGE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_FROM_STORAGE => + _id_EXTRA_FROM_STORAGE.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_HTML_TEXT = _class.staticFieldId( r'EXTRA_HTML_TEXT', @@ -11164,8 +12079,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_HTML_TEXT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_HTML_TEXT => - _id_EXTRA_HTML_TEXT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_HTML_TEXT => + _id_EXTRA_HTML_TEXT.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_INDEX = _class.staticFieldId( r'EXTRA_INDEX', @@ -11174,8 +12089,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_INDEX` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_INDEX => - _id_EXTRA_INDEX.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_INDEX => + _id_EXTRA_INDEX.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_INITIAL_INTENTS = _class.staticFieldId( r'EXTRA_INITIAL_INTENTS', @@ -11184,8 +12099,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_INITIAL_INTENTS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_INITIAL_INTENTS => - _id_EXTRA_INITIAL_INTENTS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_INITIAL_INTENTS => + _id_EXTRA_INITIAL_INTENTS.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_INSTALLER_PACKAGE_NAME = _class.staticFieldId( r'EXTRA_INSTALLER_PACKAGE_NAME', @@ -11194,8 +12109,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_INSTALLER_PACKAGE_NAME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_INSTALLER_PACKAGE_NAME => - _id_EXTRA_INSTALLER_PACKAGE_NAME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_INSTALLER_PACKAGE_NAME => + _id_EXTRA_INSTALLER_PACKAGE_NAME.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_INTENT = _class.staticFieldId( r'EXTRA_INTENT', @@ -11204,8 +12120,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_INTENT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_INTENT => - _id_EXTRA_INTENT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_INTENT => + _id_EXTRA_INTENT.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_KEY_EVENT = _class.staticFieldId( r'EXTRA_KEY_EVENT', @@ -11214,8 +12130,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_KEY_EVENT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_KEY_EVENT => - _id_EXTRA_KEY_EVENT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_KEY_EVENT => + _id_EXTRA_KEY_EVENT.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_LOCALE_LIST = _class.staticFieldId( r'EXTRA_LOCALE_LIST', @@ -11224,8 +12140,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_LOCALE_LIST` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_LOCALE_LIST => - _id_EXTRA_LOCALE_LIST.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_LOCALE_LIST => + _id_EXTRA_LOCALE_LIST.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_LOCAL_ONLY = _class.staticFieldId( r'EXTRA_LOCAL_ONLY', @@ -11234,8 +12150,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_LOCAL_ONLY` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_LOCAL_ONLY => - _id_EXTRA_LOCAL_ONLY.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_LOCAL_ONLY => + _id_EXTRA_LOCAL_ONLY.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_LOCUS_ID = _class.staticFieldId( r'EXTRA_LOCUS_ID', @@ -11244,8 +12160,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_LOCUS_ID` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_LOCUS_ID => - _id_EXTRA_LOCUS_ID.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_LOCUS_ID => + _id_EXTRA_LOCUS_ID.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_MIME_TYPES = _class.staticFieldId( r'EXTRA_MIME_TYPES', @@ -11254,8 +12170,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_MIME_TYPES` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_MIME_TYPES => - _id_EXTRA_MIME_TYPES.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_MIME_TYPES => + _id_EXTRA_MIME_TYPES.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_NOT_UNKNOWN_SOURCE = _class.staticFieldId( r'EXTRA_NOT_UNKNOWN_SOURCE', @@ -11264,8 +12180,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_NOT_UNKNOWN_SOURCE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_NOT_UNKNOWN_SOURCE => - _id_EXTRA_NOT_UNKNOWN_SOURCE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_NOT_UNKNOWN_SOURCE => + _id_EXTRA_NOT_UNKNOWN_SOURCE.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_ORIGINATING_URI = _class.staticFieldId( r'EXTRA_ORIGINATING_URI', @@ -11274,8 +12191,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_ORIGINATING_URI` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_ORIGINATING_URI => - _id_EXTRA_ORIGINATING_URI.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_ORIGINATING_URI => + _id_EXTRA_ORIGINATING_URI.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_PACKAGE_NAME = _class.staticFieldId( r'EXTRA_PACKAGE_NAME', @@ -11284,8 +12201,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_PACKAGE_NAME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_PACKAGE_NAME => - _id_EXTRA_PACKAGE_NAME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_PACKAGE_NAME => + _id_EXTRA_PACKAGE_NAME.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_PERMISSION_GROUP_NAME = _class.staticFieldId( r'EXTRA_PERMISSION_GROUP_NAME', @@ -11294,8 +12211,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_PERMISSION_GROUP_NAME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_PERMISSION_GROUP_NAME => - _id_EXTRA_PERMISSION_GROUP_NAME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_PERMISSION_GROUP_NAME => + _id_EXTRA_PERMISSION_GROUP_NAME.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_PHONE_NUMBER = _class.staticFieldId( r'EXTRA_PHONE_NUMBER', @@ -11304,8 +12222,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_PHONE_NUMBER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_PHONE_NUMBER => - _id_EXTRA_PHONE_NUMBER.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_PHONE_NUMBER => + _id_EXTRA_PHONE_NUMBER.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_PROCESS_TEXT = _class.staticFieldId( r'EXTRA_PROCESS_TEXT', @@ -11314,8 +12232,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_PROCESS_TEXT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_PROCESS_TEXT => - _id_EXTRA_PROCESS_TEXT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_PROCESS_TEXT => + _id_EXTRA_PROCESS_TEXT.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_PROCESS_TEXT_READONLY = _class.staticFieldId( r'EXTRA_PROCESS_TEXT_READONLY', @@ -11324,8 +12242,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_PROCESS_TEXT_READONLY` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_PROCESS_TEXT_READONLY => - _id_EXTRA_PROCESS_TEXT_READONLY.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_PROCESS_TEXT_READONLY => + _id_EXTRA_PROCESS_TEXT_READONLY.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_QUICK_VIEW_FEATURES = _class.staticFieldId( r'EXTRA_QUICK_VIEW_FEATURES', @@ -11334,8 +12253,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_QUICK_VIEW_FEATURES` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_QUICK_VIEW_FEATURES => - _id_EXTRA_QUICK_VIEW_FEATURES.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_QUICK_VIEW_FEATURES => + _id_EXTRA_QUICK_VIEW_FEATURES.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_QUIET_MODE = _class.staticFieldId( r'EXTRA_QUIET_MODE', @@ -11344,8 +12264,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_QUIET_MODE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_QUIET_MODE => - _id_EXTRA_QUIET_MODE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_QUIET_MODE => + _id_EXTRA_QUIET_MODE.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_REFERRER = _class.staticFieldId( r'EXTRA_REFERRER', @@ -11354,8 +12274,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_REFERRER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_REFERRER => - _id_EXTRA_REFERRER.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_REFERRER => + _id_EXTRA_REFERRER.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_REFERRER_NAME = _class.staticFieldId( r'EXTRA_REFERRER_NAME', @@ -11364,8 +12284,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_REFERRER_NAME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_REFERRER_NAME => - _id_EXTRA_REFERRER_NAME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_REFERRER_NAME => + _id_EXTRA_REFERRER_NAME.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_REMOTE_INTENT_TOKEN = _class.staticFieldId( r'EXTRA_REMOTE_INTENT_TOKEN', @@ -11374,8 +12294,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_REMOTE_INTENT_TOKEN` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_REMOTE_INTENT_TOKEN => - _id_EXTRA_REMOTE_INTENT_TOKEN.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_REMOTE_INTENT_TOKEN => + _id_EXTRA_REMOTE_INTENT_TOKEN.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_REPLACEMENT_EXTRAS = _class.staticFieldId( r'EXTRA_REPLACEMENT_EXTRAS', @@ -11384,8 +12305,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_REPLACEMENT_EXTRAS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_REPLACEMENT_EXTRAS => - _id_EXTRA_REPLACEMENT_EXTRAS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_REPLACEMENT_EXTRAS => + _id_EXTRA_REPLACEMENT_EXTRAS.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_REPLACING = _class.staticFieldId( r'EXTRA_REPLACING', @@ -11394,8 +12316,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_REPLACING` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_REPLACING => - _id_EXTRA_REPLACING.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_REPLACING => + _id_EXTRA_REPLACING.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_RESTRICTIONS_BUNDLE = _class.staticFieldId( r'EXTRA_RESTRICTIONS_BUNDLE', @@ -11404,8 +12326,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_RESTRICTIONS_BUNDLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_RESTRICTIONS_BUNDLE => - _id_EXTRA_RESTRICTIONS_BUNDLE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_RESTRICTIONS_BUNDLE => + _id_EXTRA_RESTRICTIONS_BUNDLE.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_RESTRICTIONS_INTENT = _class.staticFieldId( r'EXTRA_RESTRICTIONS_INTENT', @@ -11414,8 +12337,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_RESTRICTIONS_INTENT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_RESTRICTIONS_INTENT => - _id_EXTRA_RESTRICTIONS_INTENT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_RESTRICTIONS_INTENT => + _id_EXTRA_RESTRICTIONS_INTENT.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_RESTRICTIONS_LIST = _class.staticFieldId( r'EXTRA_RESTRICTIONS_LIST', @@ -11424,8 +12348,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_RESTRICTIONS_LIST` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_RESTRICTIONS_LIST => - _id_EXTRA_RESTRICTIONS_LIST.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_RESTRICTIONS_LIST => + _id_EXTRA_RESTRICTIONS_LIST.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_RESULT_RECEIVER = _class.staticFieldId( r'EXTRA_RESULT_RECEIVER', @@ -11434,8 +12359,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_RESULT_RECEIVER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_RESULT_RECEIVER => - _id_EXTRA_RESULT_RECEIVER.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_RESULT_RECEIVER => + _id_EXTRA_RESULT_RECEIVER.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_RETURN_RESULT = _class.staticFieldId( r'EXTRA_RETURN_RESULT', @@ -11444,8 +12369,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_RETURN_RESULT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_RETURN_RESULT => - _id_EXTRA_RETURN_RESULT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_RETURN_RESULT => + _id_EXTRA_RETURN_RESULT.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_SHORTCUT_ICON = _class.staticFieldId( r'EXTRA_SHORTCUT_ICON', @@ -11454,8 +12379,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_SHORTCUT_ICON` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_SHORTCUT_ICON => - _id_EXTRA_SHORTCUT_ICON.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_SHORTCUT_ICON => + _id_EXTRA_SHORTCUT_ICON.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_SHORTCUT_ICON_RESOURCE = _class.staticFieldId( r'EXTRA_SHORTCUT_ICON_RESOURCE', @@ -11464,8 +12389,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_SHORTCUT_ICON_RESOURCE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_SHORTCUT_ICON_RESOURCE => - _id_EXTRA_SHORTCUT_ICON_RESOURCE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_SHORTCUT_ICON_RESOURCE => + _id_EXTRA_SHORTCUT_ICON_RESOURCE.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_SHORTCUT_ID = _class.staticFieldId( r'EXTRA_SHORTCUT_ID', @@ -11474,8 +12400,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_SHORTCUT_ID` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_SHORTCUT_ID => - _id_EXTRA_SHORTCUT_ID.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_SHORTCUT_ID => + _id_EXTRA_SHORTCUT_ID.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_SHORTCUT_INTENT = _class.staticFieldId( r'EXTRA_SHORTCUT_INTENT', @@ -11484,8 +12410,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_SHORTCUT_INTENT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_SHORTCUT_INTENT => - _id_EXTRA_SHORTCUT_INTENT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_SHORTCUT_INTENT => + _id_EXTRA_SHORTCUT_INTENT.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_SHORTCUT_NAME = _class.staticFieldId( r'EXTRA_SHORTCUT_NAME', @@ -11494,8 +12420,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_SHORTCUT_NAME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_SHORTCUT_NAME => - _id_EXTRA_SHORTCUT_NAME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_SHORTCUT_NAME => + _id_EXTRA_SHORTCUT_NAME.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_SHUTDOWN_USERSPACE_ONLY = _class.staticFieldId( r'EXTRA_SHUTDOWN_USERSPACE_ONLY', @@ -11504,8 +12430,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_SHUTDOWN_USERSPACE_ONLY` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_SHUTDOWN_USERSPACE_ONLY => - _id_EXTRA_SHUTDOWN_USERSPACE_ONLY.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_SHUTDOWN_USERSPACE_ONLY => + _id_EXTRA_SHUTDOWN_USERSPACE_ONLY.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_SPLIT_NAME = _class.staticFieldId( r'EXTRA_SPLIT_NAME', @@ -11514,8 +12441,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_SPLIT_NAME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_SPLIT_NAME => - _id_EXTRA_SPLIT_NAME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_SPLIT_NAME => + _id_EXTRA_SPLIT_NAME.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_START_TIME = _class.staticFieldId( r'EXTRA_START_TIME', @@ -11524,8 +12451,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_START_TIME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_START_TIME => - _id_EXTRA_START_TIME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_START_TIME => + _id_EXTRA_START_TIME.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_STREAM = _class.staticFieldId( r'EXTRA_STREAM', @@ -11534,8 +12461,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_STREAM` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_STREAM => - _id_EXTRA_STREAM.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_STREAM => + _id_EXTRA_STREAM.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_SUBJECT = _class.staticFieldId( r'EXTRA_SUBJECT', @@ -11544,8 +12471,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_SUBJECT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_SUBJECT => - _id_EXTRA_SUBJECT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_SUBJECT => + _id_EXTRA_SUBJECT.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_SUSPENDED_PACKAGE_EXTRAS = _class.staticFieldId( r'EXTRA_SUSPENDED_PACKAGE_EXTRAS', @@ -11554,8 +12481,9 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_SUSPENDED_PACKAGE_EXTRAS` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_SUSPENDED_PACKAGE_EXTRAS => - _id_EXTRA_SUSPENDED_PACKAGE_EXTRAS.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_SUSPENDED_PACKAGE_EXTRAS => + _id_EXTRA_SUSPENDED_PACKAGE_EXTRAS.get( + _class, const jni$_.JStringNullableType()); static final _id_EXTRA_TEMPLATE = _class.staticFieldId( r'EXTRA_TEMPLATE', @@ -11564,8 +12492,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_TEMPLATE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_TEMPLATE => - _id_EXTRA_TEMPLATE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_TEMPLATE => + _id_EXTRA_TEMPLATE.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_TEXT = _class.staticFieldId( r'EXTRA_TEXT', @@ -11574,8 +12502,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_TEXT` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_TEXT => - _id_EXTRA_TEXT.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_TEXT => + _id_EXTRA_TEXT.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_TIME = _class.staticFieldId( r'EXTRA_TIME', @@ -11584,8 +12512,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_TIME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_TIME => - _id_EXTRA_TIME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_TIME => + _id_EXTRA_TIME.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_TIMEZONE = _class.staticFieldId( r'EXTRA_TIMEZONE', @@ -11594,8 +12522,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_TIMEZONE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_TIMEZONE => - _id_EXTRA_TIMEZONE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_TIMEZONE => + _id_EXTRA_TIMEZONE.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_TITLE = _class.staticFieldId( r'EXTRA_TITLE', @@ -11604,8 +12532,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_TITLE` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_TITLE => - _id_EXTRA_TITLE.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_TITLE => + _id_EXTRA_TITLE.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_UID = _class.staticFieldId( r'EXTRA_UID', @@ -11614,8 +12542,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_UID` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_UID => - _id_EXTRA_UID.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_UID => + _id_EXTRA_UID.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_USER = _class.staticFieldId( r'EXTRA_USER', @@ -11624,8 +12552,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_USER` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_USER => - _id_EXTRA_USER.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_USER => + _id_EXTRA_USER.get(_class, const jni$_.JStringNullableType()); static final _id_EXTRA_USER_INITIATED = _class.staticFieldId( r'EXTRA_USER_INITIATED', @@ -11634,8 +12562,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String EXTRA_USER_INITIATED` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get EXTRA_USER_INITIATED => - _id_EXTRA_USER_INITIATED.get(_class, const _$jni.JStringType()); + static jni$_.JString? get EXTRA_USER_INITIATED => + _id_EXTRA_USER_INITIATED.get(_class, const jni$_.JStringNullableType()); /// from: `static public final int FILL_IN_ACTION` static const FILL_IN_ACTION = 1; @@ -11781,8 +12709,8 @@ class Intent extends _$jni.JObject { /// from: `static public final java.lang.String METADATA_DOCK_HOME` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString get METADATA_DOCK_HOME => - _id_METADATA_DOCK_HOME.get(_class, const _$jni.JStringType()); + static jni$_.JString? get METADATA_DOCK_HOME => + _id_METADATA_DOCK_HOME.get(_class, const jni$_.JStringNullableType()); /// from: `static public final int URI_ALLOW_UNSAFE` static const URI_ALLOW_UNSAFE = 4; @@ -11796,23 +12724,23 @@ class Intent extends _$jni.JObject { r'()V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Intent() { return Intent.fromReference( - _new$(_class.reference.pointer, _id_new$ as _$jni.JMethodIDPtr) + _new$(_class.reference.pointer, _id_new$ as jni$_.JMethodIDPtr) .reference); } @@ -11820,24 +12748,25 @@ class Intent extends _$jni.JObject { r'(Landroid/content/Intent;)V', ); - static final _new$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _new$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_NewObject') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void (android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. factory Intent.new$1( - Intent intent, + Intent? intent, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; return Intent.fromReference(_new$1(_class.reference.pointer, - _id_new$1 as _$jni.JMethodIDPtr, intent.reference.pointer) + _id_new$1 as jni$_.JMethodIDPtr, _$intent.pointer) .reference); } @@ -11845,24 +12774,25 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)V', ); - static final _new$2 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _new$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_NewObject') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void (java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. factory Intent.new$2( - _$jni.JString string, + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return Intent.fromReference(_new$2(_class.reference.pointer, - _id_new$2 as _$jni.JMethodIDPtr, string.reference.pointer) + _id_new$2 as jni$_.JMethodIDPtr, _$string.pointer) .reference); } @@ -11870,34 +12800,33 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Landroid/net/Uri;)V', ); - static final _new$3 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$3 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void (java.lang.String string, android.net.Uri uri)` /// The returned object must be released after use, by calling the [release] method. factory Intent.new$3( - _$jni.JString string, - _$jni.JObject uri, + jni$_.JString? string, + jni$_.JObject? uri, ) { - return Intent.fromReference(_new$3( - _class.reference.pointer, - _id_new$3 as _$jni.JMethodIDPtr, - string.reference.pointer, - uri.reference.pointer) + final _$string = string?.reference ?? jni$_.jNullReference; + final _$uri = uri?.reference ?? jni$_.jNullReference; + return Intent.fromReference(_new$3(_class.reference.pointer, + _id_new$3 as jni$_.JMethodIDPtr, _$string.pointer, _$uri.pointer) .reference); } @@ -11905,34 +12834,36 @@ class Intent extends _$jni.JObject { r'(Landroid/content/Context;Ljava/lang/Class;)V', ); - static final _new$4 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$4 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void (android.content.Context context, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. factory Intent.new$4( - Context context, - _$jni.JObject class$, + Context? context, + jni$_.JObject? class$, ) { + final _$context = context?.reference ?? jni$_.jNullReference; + final _$class$ = class$?.reference ?? jni$_.jNullReference; return Intent.fromReference(_new$4( _class.reference.pointer, - _id_new$4 as _$jni.JMethodIDPtr, - context.reference.pointer, - class$.reference.pointer) + _id_new$4 as jni$_.JMethodIDPtr, + _$context.pointer, + _$class$.pointer) .reference); } @@ -11940,42 +12871,46 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Landroid/net/Uri;Landroid/content/Context;Ljava/lang/Class;)V', ); - static final _new$5 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$5 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void (java.lang.String string, android.net.Uri uri, android.content.Context context, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. factory Intent.new$5( - _$jni.JString string, - _$jni.JObject uri, - Context context, - _$jni.JObject class$, - ) { + jni$_.JString? string, + jni$_.JObject? uri, + Context? context, + jni$_.JObject? class$, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$uri = uri?.reference ?? jni$_.jNullReference; + final _$context = context?.reference ?? jni$_.jNullReference; + final _$class$ = class$?.reference ?? jni$_.jNullReference; return Intent.fromReference(_new$5( _class.reference.pointer, - _id_new$5 as _$jni.JMethodIDPtr, - string.reference.pointer, - uri.reference.pointer, - context.reference.pointer, - class$.reference.pointer) + _id_new$5 as jni$_.JMethodIDPtr, + _$string.pointer, + _$uri.pointer, + _$context.pointer, + _$class$.pointer) .reference); } @@ -11984,35 +12919,37 @@ class Intent extends _$jni.JObject { r'(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;', ); - static final _createChooser = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _createChooser = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `static public android.content.Intent createChooser(android.content.Intent intent, java.lang.CharSequence charSequence)` /// The returned object must be released after use, by calling the [release] method. - static Intent createChooser( - Intent intent, - _$jni.JObject charSequence, + static Intent? createChooser( + Intent? intent, + jni$_.JObject? charSequence, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$charSequence = charSequence?.reference ?? jni$_.jNullReference; return _createChooser( _class.reference.pointer, - _id_createChooser as _$jni.JMethodIDPtr, - intent.reference.pointer, - charSequence.reference.pointer) - .object(const $Intent$Type()); + _id_createChooser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$charSequence.pointer) + .object(const $Intent$NullableType()); } static final _id_createChooser$1 = _class.staticMethodId( @@ -12020,39 +12957,42 @@ class Intent extends _$jni.JObject { r'(Landroid/content/Intent;Ljava/lang/CharSequence;Landroid/content/IntentSender;)Landroid/content/Intent;', ); - static final _createChooser$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _createChooser$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `static public android.content.Intent createChooser(android.content.Intent intent, java.lang.CharSequence charSequence, android.content.IntentSender intentSender)` /// The returned object must be released after use, by calling the [release] method. - static Intent createChooser$1( - Intent intent, - _$jni.JObject charSequence, - _$jni.JObject intentSender, + static Intent? createChooser$1( + Intent? intent, + jni$_.JObject? charSequence, + jni$_.JObject? intentSender, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$charSequence = charSequence?.reference ?? jni$_.jNullReference; + final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; return _createChooser$1( _class.reference.pointer, - _id_createChooser$1 as _$jni.JMethodIDPtr, - intent.reference.pointer, - charSequence.reference.pointer, - intentSender.reference.pointer) - .object(const $Intent$Type()); + _id_createChooser$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$charSequence.pointer, + _$intentSender.pointer) + .object(const $Intent$NullableType()); } static final _id_clone = _class.instanceMethodId( @@ -12060,23 +13000,23 @@ class Intent extends _$jni.JObject { r'()Ljava/lang/Object;', ); - static final _clone = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _clone = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.Object clone()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject clone() { - return _clone(reference.pointer, _id_clone as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + jni$_.JObject? clone() { + return _clone(reference.pointer, _id_clone as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_cloneFilter = _class.instanceMethodId( @@ -12084,24 +13024,24 @@ class Intent extends _$jni.JObject { r'()Landroid/content/Intent;', ); - static final _cloneFilter = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _cloneFilter = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.content.Intent cloneFilter()` /// The returned object must be released after use, by calling the [release] method. - Intent cloneFilter() { + Intent? cloneFilter() { return _cloneFilter( - reference.pointer, _id_cloneFilter as _$jni.JMethodIDPtr) - .object(const $Intent$Type()); + reference.pointer, _id_cloneFilter as jni$_.JMethodIDPtr) + .object(const $Intent$NullableType()); } static final _id_makeMainActivity = _class.staticMethodId( @@ -12109,27 +13049,26 @@ class Intent extends _$jni.JObject { r'(Landroid/content/ComponentName;)Landroid/content/Intent;', ); - static final _makeMainActivity = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _makeMainActivity = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public android.content.Intent makeMainActivity(android.content.ComponentName componentName)` /// The returned object must be released after use, by calling the [release] method. - static Intent makeMainActivity( - _$jni.JObject componentName, + static Intent? makeMainActivity( + jni$_.JObject? componentName, ) { - return _makeMainActivity( - _class.reference.pointer, - _id_makeMainActivity as _$jni.JMethodIDPtr, - componentName.reference.pointer) - .object(const $Intent$Type()); + final _$componentName = componentName?.reference ?? jni$_.jNullReference; + return _makeMainActivity(_class.reference.pointer, + _id_makeMainActivity as jni$_.JMethodIDPtr, _$componentName.pointer) + .object(const $Intent$NullableType()); } static final _id_makeMainSelectorActivity = _class.staticMethodId( @@ -12137,35 +13076,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _makeMainSelectorActivity = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _makeMainSelectorActivity = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `static public android.content.Intent makeMainSelectorActivity(java.lang.String string, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. - static Intent makeMainSelectorActivity( - _$jni.JString string, - _$jni.JString string1, + static Intent? makeMainSelectorActivity( + jni$_.JString? string, + jni$_.JString? string1, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; return _makeMainSelectorActivity( _class.reference.pointer, - _id_makeMainSelectorActivity as _$jni.JMethodIDPtr, - string.reference.pointer, - string1.reference.pointer) - .object(const $Intent$Type()); + _id_makeMainSelectorActivity as jni$_.JMethodIDPtr, + _$string.pointer, + _$string1.pointer) + .object(const $Intent$NullableType()); } static final _id_makeRestartActivityTask = _class.staticMethodId( @@ -12173,27 +13114,28 @@ class Intent extends _$jni.JObject { r'(Landroid/content/ComponentName;)Landroid/content/Intent;', ); - static final _makeRestartActivityTask = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _makeRestartActivityTask = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public android.content.Intent makeRestartActivityTask(android.content.ComponentName componentName)` /// The returned object must be released after use, by calling the [release] method. - static Intent makeRestartActivityTask( - _$jni.JObject componentName, + static Intent? makeRestartActivityTask( + jni$_.JObject? componentName, ) { + final _$componentName = componentName?.reference ?? jni$_.jNullReference; return _makeRestartActivityTask( _class.reference.pointer, - _id_makeRestartActivityTask as _$jni.JMethodIDPtr, - componentName.reference.pointer) - .object(const $Intent$Type()); + _id_makeRestartActivityTask as jni$_.JMethodIDPtr, + _$componentName.pointer) + .object(const $Intent$NullableType()); } static final _id_getIntent = _class.staticMethodId( @@ -12201,25 +13143,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _getIntent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getIntent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public android.content.Intent getIntent(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - static Intent getIntent( - _$jni.JString string, + static Intent? getIntent( + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getIntent(_class.reference.pointer, - _id_getIntent as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const $Intent$Type()); + _id_getIntent as jni$_.JMethodIDPtr, _$string.pointer) + .object(const $Intent$NullableType()); } static final _id_parseUri = _class.staticMethodId( @@ -12227,27 +13170,28 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;I)Landroid/content/Intent;', ); - static final _parseUri = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _parseUri = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `static public android.content.Intent parseUri(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - static Intent parseUri( - _$jni.JString string, + static Intent? parseUri( + jni$_.JString? string, int i, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _parseUri(_class.reference.pointer, - _id_parseUri as _$jni.JMethodIDPtr, string.reference.pointer, i) - .object(const $Intent$Type()); + _id_parseUri as jni$_.JMethodIDPtr, _$string.pointer, i) + .object(const $Intent$NullableType()); } static final _id_getIntentOld = _class.staticMethodId( @@ -12255,25 +13199,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _getIntentOld = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getIntentOld = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public android.content.Intent getIntentOld(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - static Intent getIntentOld( - _$jni.JString string, + static Intent? getIntentOld( + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getIntentOld(_class.reference.pointer, - _id_getIntentOld as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const $Intent$Type()); + _id_getIntentOld as jni$_.JMethodIDPtr, _$string.pointer) + .object(const $Intent$NullableType()); } static final _id_getAction = _class.instanceMethodId( @@ -12281,23 +13226,23 @@ class Intent extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _getAction = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getAction = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String getAction()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getAction() { - return _getAction(reference.pointer, _id_getAction as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + jni$_.JString? getAction() { + return _getAction(reference.pointer, _id_getAction as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_getData = _class.instanceMethodId( @@ -12305,23 +13250,23 @@ class Intent extends _$jni.JObject { r'()Landroid/net/Uri;', ); - static final _getData = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getData = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.net.Uri getData()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getData() { - return _getData(reference.pointer, _id_getData as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + jni$_.JObject? getData() { + return _getData(reference.pointer, _id_getData as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getDataString = _class.instanceMethodId( @@ -12329,24 +13274,24 @@ class Intent extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _getDataString = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getDataString = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String getDataString()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getDataString() { + jni$_.JString? getDataString() { return _getDataString( - reference.pointer, _id_getDataString as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + reference.pointer, _id_getDataString as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_getScheme = _class.instanceMethodId( @@ -12354,23 +13299,23 @@ class Intent extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _getScheme = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getScheme = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String getScheme()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getScheme() { - return _getScheme(reference.pointer, _id_getScheme as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + jni$_.JString? getScheme() { + return _getScheme(reference.pointer, _id_getScheme as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_getType = _class.instanceMethodId( @@ -12378,23 +13323,23 @@ class Intent extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _getType = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getType = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String getType()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getType() { - return _getType(reference.pointer, _id_getType as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + jni$_.JString? getType() { + return _getType(reference.pointer, _id_getType as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_resolveType = _class.instanceMethodId( @@ -12402,25 +13347,26 @@ class Intent extends _$jni.JObject { r'(Landroid/content/Context;)Ljava/lang/String;', ); - static final _resolveType = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _resolveType = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.lang.String resolveType(android.content.Context context)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString resolveType( - Context context, + jni$_.JString? resolveType( + Context? context, ) { + final _$context = context?.reference ?? jni$_.jNullReference; return _resolveType(reference.pointer, - _id_resolveType as _$jni.JMethodIDPtr, context.reference.pointer) - .object(const _$jni.JStringType()); + _id_resolveType as jni$_.JMethodIDPtr, _$context.pointer) + .object(const jni$_.JStringNullableType()); } static final _id_resolveType$1 = _class.instanceMethodId( @@ -12428,27 +13374,27 @@ class Intent extends _$jni.JObject { r'(Landroid/content/ContentResolver;)Ljava/lang/String;', ); - static final _resolveType$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _resolveType$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.lang.String resolveType(android.content.ContentResolver contentResolver)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString resolveType$1( - _$jni.JObject contentResolver, + jni$_.JString? resolveType$1( + jni$_.JObject? contentResolver, ) { - return _resolveType$1( - reference.pointer, - _id_resolveType$1 as _$jni.JMethodIDPtr, - contentResolver.reference.pointer) - .object(const _$jni.JStringType()); + final _$contentResolver = + contentResolver?.reference ?? jni$_.jNullReference; + return _resolveType$1(reference.pointer, + _id_resolveType$1 as jni$_.JMethodIDPtr, _$contentResolver.pointer) + .object(const jni$_.JStringNullableType()); } static final _id_resolveTypeIfNeeded = _class.instanceMethodId( @@ -12456,27 +13402,29 @@ class Intent extends _$jni.JObject { r'(Landroid/content/ContentResolver;)Ljava/lang/String;', ); - static final _resolveTypeIfNeeded = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _resolveTypeIfNeeded = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.lang.String resolveTypeIfNeeded(android.content.ContentResolver contentResolver)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString resolveTypeIfNeeded( - _$jni.JObject contentResolver, + jni$_.JString? resolveTypeIfNeeded( + jni$_.JObject? contentResolver, ) { + final _$contentResolver = + contentResolver?.reference ?? jni$_.jNullReference; return _resolveTypeIfNeeded( reference.pointer, - _id_resolveTypeIfNeeded as _$jni.JMethodIDPtr, - contentResolver.reference.pointer) - .object(const _$jni.JStringType()); + _id_resolveTypeIfNeeded as jni$_.JMethodIDPtr, + _$contentResolver.pointer) + .object(const jni$_.JStringNullableType()); } static final _id_getIdentifier = _class.instanceMethodId( @@ -12484,24 +13432,24 @@ class Intent extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _getIdentifier = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getIdentifier = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String getIdentifier()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getIdentifier() { + jni$_.JString? getIdentifier() { return _getIdentifier( - reference.pointer, _id_getIdentifier as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + reference.pointer, _id_getIdentifier as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_hasCategory = _class.instanceMethodId( @@ -12509,23 +13457,24 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Z', ); - static final _hasCategory = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _hasCategory = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean hasCategory(java.lang.String string)` bool hasCategory( - _$jni.JString string, + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _hasCategory(reference.pointer, - _id_hasCategory as _$jni.JMethodIDPtr, string.reference.pointer) + _id_hasCategory as jni$_.JMethodIDPtr, _$string.pointer) .boolean; } @@ -12534,24 +13483,26 @@ class Intent extends _$jni.JObject { r'()Ljava/util/Set;', ); - static final _getCategories = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getCategories = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.util.Set getCategories()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JSet<_$jni.JString> getCategories() { + jni$_.JSet? getCategories() { return _getCategories( - reference.pointer, _id_getCategories as _$jni.JMethodIDPtr) - .object(const _$jni.JSetType(_$jni.JStringType())); + reference.pointer, _id_getCategories as jni$_.JMethodIDPtr) + .object?>( + const jni$_.JSetNullableType( + jni$_.JStringNullableType())); } static final _id_getSelector = _class.instanceMethodId( @@ -12559,24 +13510,24 @@ class Intent extends _$jni.JObject { r'()Landroid/content/Intent;', ); - static final _getSelector = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getSelector = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.content.Intent getSelector()` /// The returned object must be released after use, by calling the [release] method. - Intent getSelector() { + Intent? getSelector() { return _getSelector( - reference.pointer, _id_getSelector as _$jni.JMethodIDPtr) - .object(const $Intent$Type()); + reference.pointer, _id_getSelector as jni$_.JMethodIDPtr) + .object(const $Intent$NullableType()); } static final _id_getClipData = _class.instanceMethodId( @@ -12584,24 +13535,24 @@ class Intent extends _$jni.JObject { r'()Landroid/content/ClipData;', ); - static final _getClipData = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getClipData = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.content.ClipData getClipData()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getClipData() { + jni$_.JObject? getClipData() { return _getClipData( - reference.pointer, _id_getClipData as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getClipData as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_setExtrasClassLoader = _class.instanceMethodId( @@ -12609,25 +13560,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/ClassLoader;)V', ); - static final _setExtrasClassLoader = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setExtrasClassLoader = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void setExtrasClassLoader(java.lang.ClassLoader classLoader)` void setExtrasClassLoader( - _$jni.JObject classLoader, + jni$_.JObject? classLoader, ) { + final _$classLoader = classLoader?.reference ?? jni$_.jNullReference; _setExtrasClassLoader( reference.pointer, - _id_setExtrasClassLoader as _$jni.JMethodIDPtr, - classLoader.reference.pointer) + _id_setExtrasClassLoader as jni$_.JMethodIDPtr, + _$classLoader.pointer) .check(); } @@ -12636,23 +13588,24 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Z', ); - static final _hasExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _hasExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean hasExtra(java.lang.String string)` bool hasExtra( - _$jni.JString string, + jni$_.JString? string, ) { - return _hasExtra(reference.pointer, _id_hasExtra as _$jni.JMethodIDPtr, - string.reference.pointer) + final _$string = string?.reference ?? jni$_.jNullReference; + return _hasExtra(reference.pointer, _id_hasExtra as jni$_.JMethodIDPtr, + _$string.pointer) .boolean; } @@ -12661,22 +13614,22 @@ class Intent extends _$jni.JObject { r'()Z', ); - static final _hasFileDescriptors = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _hasFileDescriptors = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean hasFileDescriptors()` bool hasFileDescriptors() { return _hasFileDescriptors( - reference.pointer, _id_hasFileDescriptors as _$jni.JMethodIDPtr) + reference.pointer, _id_hasFileDescriptors as jni$_.JMethodIDPtr) .boolean; } @@ -12685,27 +13638,28 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Z)Z', ); - static final _getBooleanExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _getBooleanExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public boolean getBooleanExtra(java.lang.String string, boolean z)` bool getBooleanExtra( - _$jni.JString string, + jni$_.JString? string, bool z, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getBooleanExtra( reference.pointer, - _id_getBooleanExtra as _$jni.JMethodIDPtr, - string.reference.pointer, + _id_getBooleanExtra as jni$_.JMethodIDPtr, + _$string.pointer, z ? 1 : 0) .boolean; } @@ -12715,25 +13669,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;B)B', ); - static final _getByteExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _getByteExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallByteMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public byte getByteExtra(java.lang.String string, byte b)` int getByteExtra( - _$jni.JString string, + jni$_.JString? string, int b, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getByteExtra(reference.pointer, - _id_getByteExtra as _$jni.JMethodIDPtr, string.reference.pointer, b) + _id_getByteExtra as jni$_.JMethodIDPtr, _$string.pointer, b) .byte; } @@ -12742,28 +13697,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;S)S', ); - static final _getShortExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _getShortExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallShortMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public short getShortExtra(java.lang.String string, short s)` int getShortExtra( - _$jni.JString string, + jni$_.JString? string, int s, ) { - return _getShortExtra( - reference.pointer, - _id_getShortExtra as _$jni.JMethodIDPtr, - string.reference.pointer, - s) + final _$string = string?.reference ?? jni$_.jNullReference; + return _getShortExtra(reference.pointer, + _id_getShortExtra as jni$_.JMethodIDPtr, _$string.pointer, s) .short; } @@ -12772,25 +13725,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;C)C', ); - static final _getCharExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _getCharExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallCharMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public char getCharExtra(java.lang.String string, char c)` int getCharExtra( - _$jni.JString string, + jni$_.JString? string, int c, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getCharExtra(reference.pointer, - _id_getCharExtra as _$jni.JMethodIDPtr, string.reference.pointer, c) + _id_getCharExtra as jni$_.JMethodIDPtr, _$string.pointer, c) .char; } @@ -12799,25 +13753,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;I)I', ); - static final _getIntExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _getIntExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public int getIntExtra(java.lang.String string, int i)` int getIntExtra( - _$jni.JString string, + jni$_.JString? string, int i, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getIntExtra(reference.pointer, - _id_getIntExtra as _$jni.JMethodIDPtr, string.reference.pointer, i) + _id_getIntExtra as jni$_.JMethodIDPtr, _$string.pointer, i) .integer; } @@ -12826,25 +13781,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;J)J', ); - static final _getLongExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int64)>)>>( + static final _getLongExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( 'globalEnv_CallLongMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public long getLongExtra(java.lang.String string, long j)` int getLongExtra( - _$jni.JString string, + jni$_.JString? string, int j, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getLongExtra(reference.pointer, - _id_getLongExtra as _$jni.JMethodIDPtr, string.reference.pointer, j) + _id_getLongExtra as jni$_.JMethodIDPtr, _$string.pointer, j) .long; } @@ -12853,30 +13809,28 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;F)F', ); - static final _getFloatExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _getFloatExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Double + jni$_.Pointer, + jni$_.Double )>)>>('globalEnv_CallFloatMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, double)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); /// from: `public float getFloatExtra(java.lang.String string, float f)` double getFloatExtra( - _$jni.JString string, + jni$_.JString? string, double f, ) { - return _getFloatExtra( - reference.pointer, - _id_getFloatExtra as _$jni.JMethodIDPtr, - string.reference.pointer, - f) + final _$string = string?.reference ?? jni$_.jNullReference; + return _getFloatExtra(reference.pointer, + _id_getFloatExtra as jni$_.JMethodIDPtr, _$string.pointer, f) .float; } @@ -12885,30 +13839,28 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;D)D', ); - static final _getDoubleExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _getDoubleExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Double + jni$_.Pointer, + jni$_.Double )>)>>('globalEnv_CallDoubleMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, double)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); /// from: `public double getDoubleExtra(java.lang.String string, double d)` double getDoubleExtra( - _$jni.JString string, + jni$_.JString? string, double d, ) { - return _getDoubleExtra( - reference.pointer, - _id_getDoubleExtra as _$jni.JMethodIDPtr, - string.reference.pointer, - d) + final _$string = string?.reference ?? jni$_.jNullReference; + return _getDoubleExtra(reference.pointer, + _id_getDoubleExtra as jni$_.JMethodIDPtr, _$string.pointer, d) .doubleFloat; } @@ -12917,25 +13869,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Ljava/lang/String;', ); - static final _getStringExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getStringExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.lang.String getStringExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getStringExtra( - _$jni.JString string, + jni$_.JString? getStringExtra( + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getStringExtra(reference.pointer, - _id_getStringExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const _$jni.JStringType()); + _id_getStringExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JStringNullableType()); } static final _id_getCharSequenceExtra = _class.instanceMethodId( @@ -12943,27 +13896,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Ljava/lang/CharSequence;', ); - static final _getCharSequenceExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getCharSequenceExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.lang.CharSequence getCharSequenceExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getCharSequenceExtra( - _$jni.JString string, + jni$_.JObject? getCharSequenceExtra( + jni$_.JString? string, ) { - return _getCharSequenceExtra( - reference.pointer, - _id_getCharSequenceExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JObjectType()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getCharSequenceExtra(reference.pointer, + _id_getCharSequenceExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_getParcelableExtra = _class.instanceMethodId( @@ -12971,28 +13923,27 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Landroid/os/Parcelable;', ); - static final _getParcelableExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getParcelableExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public T getParcelableExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - $T getParcelableExtra<$T extends _$jni.JObject>( - _$jni.JString string, { - required _$jni.JObjType<$T> T, + $T? getParcelableExtra<$T extends jni$_.JObject?>( + jni$_.JString? string, { + required jni$_.JObjType<$T> T, }) { - return _getParcelableExtra( - reference.pointer, - _id_getParcelableExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(T); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getParcelableExtra(reference.pointer, + _id_getParcelableExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object<$T?>(T.nullableType); } static final _id_getParcelableExtra$1 = _class.instanceMethodId( @@ -13000,36 +13951,38 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;', ); - static final _getParcelableExtra$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _getParcelableExtra$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public T getParcelableExtra(java.lang.String string, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. - $T getParcelableExtra$1<$T extends _$jni.JObject>( - _$jni.JString string, - _$jni.JObject class$, { - required _$jni.JObjType<$T> T, + $T? getParcelableExtra$1<$T extends jni$_.JObject?>( + jni$_.JString? string, + jni$_.JObject? class$, { + required jni$_.JObjType<$T> T, }) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$class$ = class$?.reference ?? jni$_.jNullReference; return _getParcelableExtra$1( reference.pointer, - _id_getParcelableExtra$1 as _$jni.JMethodIDPtr, - string.reference.pointer, - class$.reference.pointer) - .object(T); + _id_getParcelableExtra$1 as jni$_.JMethodIDPtr, + _$string.pointer, + _$class$.pointer) + .object<$T?>(T.nullableType); } static final _id_getParcelableArrayExtra = _class.instanceMethodId( @@ -13037,27 +13990,28 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)[Landroid/os/Parcelable;', ); - static final _getParcelableArrayExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getParcelableArrayExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.os.Parcelable[] getParcelableArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.JObject> getParcelableArrayExtra( - _$jni.JString string, + jni$_.JArray? getParcelableArrayExtra( + jni$_.JString? string, ) { - return _getParcelableArrayExtra( - reference.pointer, - _id_getParcelableArrayExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JArrayType(_$jni.JObjectType())); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getParcelableArrayExtra(reference.pointer, + _id_getParcelableArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object?>( + const jni$_.JArrayNullableType( + jni$_.JObjectNullableType())); } static final _id_getParcelableArrayExtra$1 = _class.instanceMethodId( @@ -13065,36 +14019,39 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Ljava/lang/Class;)[Ljava/lang/Object;', ); - static final _getParcelableArrayExtra$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _getParcelableArrayExtra$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public java.lang.Object[] getParcelableArrayExtra(java.lang.String string, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<$T> getParcelableArrayExtra$1<$T extends _$jni.JObject>( - _$jni.JString string, - _$jni.JObject class$, { - required _$jni.JObjType<$T> T, + jni$_.JArray<$T?>? getParcelableArrayExtra$1<$T extends jni$_.JObject?>( + jni$_.JString? string, + jni$_.JObject? class$, { + required jni$_.JObjType<$T> T, }) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$class$ = class$?.reference ?? jni$_.jNullReference; return _getParcelableArrayExtra$1( reference.pointer, - _id_getParcelableArrayExtra$1 as _$jni.JMethodIDPtr, - string.reference.pointer, - class$.reference.pointer) - .object(_$jni.JArrayType(T)); + _id_getParcelableArrayExtra$1 as jni$_.JMethodIDPtr, + _$string.pointer, + _$class$.pointer) + .object?>( + jni$_.JArrayNullableType<$T?>(T.nullableType)); } static final _id_getParcelableArrayListExtra = _class.instanceMethodId( @@ -13103,28 +14060,29 @@ class Intent extends _$jni.JObject { ); static final _getParcelableArrayListExtra = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.util.ArrayList getParcelableArrayListExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getParcelableArrayListExtra<$T extends _$jni.JObject>( - _$jni.JString string, { - required _$jni.JObjType<$T> T, + jni$_.JObject? getParcelableArrayListExtra<$T extends jni$_.JObject?>( + jni$_.JString? string, { + required jni$_.JObjType<$T> T, }) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getParcelableArrayListExtra( reference.pointer, - _id_getParcelableArrayListExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JObjectType()); + _id_getParcelableArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_getParcelableArrayListExtra$1 = _class.instanceMethodId( @@ -13133,36 +14091,38 @@ class Intent extends _$jni.JObject { ); static final _getParcelableArrayListExtra$1 = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public java.util.ArrayList getParcelableArrayListExtra(java.lang.String string, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getParcelableArrayListExtra$1<$T extends _$jni.JObject>( - _$jni.JString string, - _$jni.JObject class$, { - required _$jni.JObjType<$T> T, + jni$_.JObject? getParcelableArrayListExtra$1<$T extends jni$_.JObject?>( + jni$_.JString? string, + jni$_.JObject? class$, { + required jni$_.JObjType<$T> T, }) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$class$ = class$?.reference ?? jni$_.jNullReference; return _getParcelableArrayListExtra$1( reference.pointer, - _id_getParcelableArrayListExtra$1 as _$jni.JMethodIDPtr, - string.reference.pointer, - class$.reference.pointer) - .object(const _$jni.JObjectType()); + _id_getParcelableArrayListExtra$1 as jni$_.JMethodIDPtr, + _$string.pointer, + _$class$.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_getSerializableExtra = _class.instanceMethodId( @@ -13170,27 +14130,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Ljava/io/Serializable;', ); - static final _getSerializableExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getSerializableExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.io.Serializable getSerializableExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getSerializableExtra( - _$jni.JString string, + jni$_.JObject? getSerializableExtra( + jni$_.JString? string, ) { - return _getSerializableExtra( - reference.pointer, - _id_getSerializableExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JObjectType()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getSerializableExtra(reference.pointer, + _id_getSerializableExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_getSerializableExtra$1 = _class.instanceMethodId( @@ -13198,36 +14157,38 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Ljava/lang/Class;)Ljava/io/Serializable;', ); - static final _getSerializableExtra$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _getSerializableExtra$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public T getSerializableExtra(java.lang.String string, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. - $T getSerializableExtra$1<$T extends _$jni.JObject>( - _$jni.JString string, - _$jni.JObject class$, { - required _$jni.JObjType<$T> T, + $T? getSerializableExtra$1<$T extends jni$_.JObject?>( + jni$_.JString? string, + jni$_.JObject? class$, { + required jni$_.JObjType<$T> T, }) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$class$ = class$?.reference ?? jni$_.jNullReference; return _getSerializableExtra$1( reference.pointer, - _id_getSerializableExtra$1 as _$jni.JMethodIDPtr, - string.reference.pointer, - class$.reference.pointer) - .object(T); + _id_getSerializableExtra$1 as jni$_.JMethodIDPtr, + _$string.pointer, + _$class$.pointer) + .object<$T?>(T.nullableType); } static final _id_getIntegerArrayListExtra = _class.instanceMethodId( @@ -13235,27 +14196,28 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Ljava/util/ArrayList;', ); - static final _getIntegerArrayListExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getIntegerArrayListExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.util.ArrayList getIntegerArrayListExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getIntegerArrayListExtra( - _$jni.JString string, + jni$_.JObject? getIntegerArrayListExtra( + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getIntegerArrayListExtra( reference.pointer, - _id_getIntegerArrayListExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JObjectType()); + _id_getIntegerArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_getStringArrayListExtra = _class.instanceMethodId( @@ -13263,27 +14225,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Ljava/util/ArrayList;', ); - static final _getStringArrayListExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getStringArrayListExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.util.ArrayList getStringArrayListExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getStringArrayListExtra( - _$jni.JString string, + jni$_.JObject? getStringArrayListExtra( + jni$_.JString? string, ) { - return _getStringArrayListExtra( - reference.pointer, - _id_getStringArrayListExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JObjectType()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getStringArrayListExtra(reference.pointer, + _id_getStringArrayListExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_getCharSequenceArrayListExtra = _class.instanceMethodId( @@ -13292,27 +14253,28 @@ class Intent extends _$jni.JObject { ); static final _getCharSequenceArrayListExtra = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.util.ArrayList getCharSequenceArrayListExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getCharSequenceArrayListExtra( - _$jni.JString string, + jni$_.JObject? getCharSequenceArrayListExtra( + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getCharSequenceArrayListExtra( reference.pointer, - _id_getCharSequenceArrayListExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JObjectType()); + _id_getCharSequenceArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_getBooleanArrayExtra = _class.instanceMethodId( @@ -13320,27 +14282,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)[Z', ); - static final _getBooleanArrayExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getBooleanArrayExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean[] getBooleanArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.jboolean> getBooleanArrayExtra( - _$jni.JString string, + jni$_.JBooleanArray? getBooleanArrayExtra( + jni$_.JString? string, ) { - return _getBooleanArrayExtra( - reference.pointer, - _id_getBooleanArrayExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JArrayType(_$jni.jbooleanType())); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getBooleanArrayExtra(reference.pointer, + _id_getBooleanArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JBooleanArrayNullableType()); } static final _id_getByteArrayExtra = _class.instanceMethodId( @@ -13348,27 +14309,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)[B', ); - static final _getByteArrayExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getByteArrayExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public byte[] getByteArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.jbyte> getByteArrayExtra( - _$jni.JString string, + jni$_.JByteArray? getByteArrayExtra( + jni$_.JString? string, ) { - return _getByteArrayExtra( - reference.pointer, - _id_getByteArrayExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JArrayType(_$jni.jbyteType())); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getByteArrayExtra(reference.pointer, + _id_getByteArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JByteArrayNullableType()); } static final _id_getShortArrayExtra = _class.instanceMethodId( @@ -13376,27 +14336,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)[S', ); - static final _getShortArrayExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getShortArrayExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public short[] getShortArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.jshort> getShortArrayExtra( - _$jni.JString string, + jni$_.JShortArray? getShortArrayExtra( + jni$_.JString? string, ) { - return _getShortArrayExtra( - reference.pointer, - _id_getShortArrayExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JArrayType(_$jni.jshortType())); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getShortArrayExtra(reference.pointer, + _id_getShortArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JShortArrayNullableType()); } static final _id_getCharArrayExtra = _class.instanceMethodId( @@ -13404,27 +14363,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)[C', ); - static final _getCharArrayExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getCharArrayExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public char[] getCharArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.jchar> getCharArrayExtra( - _$jni.JString string, + jni$_.JCharArray? getCharArrayExtra( + jni$_.JString? string, ) { - return _getCharArrayExtra( - reference.pointer, - _id_getCharArrayExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JArrayType(_$jni.jcharType())); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getCharArrayExtra(reference.pointer, + _id_getCharArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JCharArrayNullableType()); } static final _id_getIntArrayExtra = _class.instanceMethodId( @@ -13432,27 +14390,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)[I', ); - static final _getIntArrayExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getIntArrayExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public int[] getIntArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.jint> getIntArrayExtra( - _$jni.JString string, + jni$_.JIntArray? getIntArrayExtra( + jni$_.JString? string, ) { - return _getIntArrayExtra( - reference.pointer, - _id_getIntArrayExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JArrayType(_$jni.jintType())); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getIntArrayExtra(reference.pointer, + _id_getIntArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JIntArrayNullableType()); } static final _id_getLongArrayExtra = _class.instanceMethodId( @@ -13460,27 +14417,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)[J', ); - static final _getLongArrayExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getLongArrayExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public long[] getLongArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.jlong> getLongArrayExtra( - _$jni.JString string, + jni$_.JLongArray? getLongArrayExtra( + jni$_.JString? string, ) { - return _getLongArrayExtra( - reference.pointer, - _id_getLongArrayExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JArrayType(_$jni.jlongType())); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getLongArrayExtra(reference.pointer, + _id_getLongArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JLongArrayNullableType()); } static final _id_getFloatArrayExtra = _class.instanceMethodId( @@ -13488,27 +14444,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)[F', ); - static final _getFloatArrayExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getFloatArrayExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public float[] getFloatArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.jfloat> getFloatArrayExtra( - _$jni.JString string, + jni$_.JFloatArray? getFloatArrayExtra( + jni$_.JString? string, ) { - return _getFloatArrayExtra( - reference.pointer, - _id_getFloatArrayExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JArrayType(_$jni.jfloatType())); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getFloatArrayExtra(reference.pointer, + _id_getFloatArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JFloatArrayNullableType()); } static final _id_getDoubleArrayExtra = _class.instanceMethodId( @@ -13516,27 +14471,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)[D', ); - static final _getDoubleArrayExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getDoubleArrayExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public double[] getDoubleArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.jdouble> getDoubleArrayExtra( - _$jni.JString string, + jni$_.JDoubleArray? getDoubleArrayExtra( + jni$_.JString? string, ) { - return _getDoubleArrayExtra( - reference.pointer, - _id_getDoubleArrayExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JArrayType(_$jni.jdoubleType())); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getDoubleArrayExtra(reference.pointer, + _id_getDoubleArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JDoubleArrayNullableType()); } static final _id_getStringArrayExtra = _class.instanceMethodId( @@ -13544,27 +14498,28 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)[Ljava/lang/String;', ); - static final _getStringArrayExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getStringArrayExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.lang.String[] getStringArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.JString> getStringArrayExtra( - _$jni.JString string, + jni$_.JArray? getStringArrayExtra( + jni$_.JString? string, ) { - return _getStringArrayExtra( - reference.pointer, - _id_getStringArrayExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JArrayType(_$jni.JStringType())); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getStringArrayExtra(reference.pointer, + _id_getStringArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object?>( + const jni$_.JArrayNullableType( + jni$_.JStringNullableType())); } static final _id_getCharSequenceArrayExtra = _class.instanceMethodId( @@ -13572,27 +14527,30 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)[Ljava/lang/CharSequence;', ); - static final _getCharSequenceArrayExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getCharSequenceArrayExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.lang.CharSequence[] getCharSequenceArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JArray<_$jni.JObject> getCharSequenceArrayExtra( - _$jni.JString string, + jni$_.JArray? getCharSequenceArrayExtra( + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getCharSequenceArrayExtra( reference.pointer, - _id_getCharSequenceArrayExtra as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JArrayType(_$jni.JObjectType())); + _id_getCharSequenceArrayExtra as jni$_.JMethodIDPtr, + _$string.pointer) + .object?>( + const jni$_.JArrayNullableType( + jni$_.JObjectNullableType())); } static final _id_getBundleExtra = _class.instanceMethodId( @@ -13600,25 +14558,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Landroid/os/Bundle;', ); - static final _getBundleExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getBundleExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.os.Bundle getBundleExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getBundleExtra( - _$jni.JString string, + jni$_.JObject? getBundleExtra( + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _getBundleExtra(reference.pointer, - _id_getBundleExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const _$jni.JObjectType()); + _id_getBundleExtra as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_getExtras = _class.instanceMethodId( @@ -13626,23 +14585,23 @@ class Intent extends _$jni.JObject { r'()Landroid/os/Bundle;', ); - static final _getExtras = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getExtras = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.os.Bundle getExtras()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getExtras() { - return _getExtras(reference.pointer, _id_getExtras as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + jni$_.JObject? getExtras() { + return _getExtras(reference.pointer, _id_getExtras as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getFlags = _class.instanceMethodId( @@ -13650,21 +14609,21 @@ class Intent extends _$jni.JObject { r'()I', ); - static final _getFlags = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getFlags = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int getFlags()` int getFlags() { - return _getFlags(reference.pointer, _id_getFlags as _$jni.JMethodIDPtr) + return _getFlags(reference.pointer, _id_getFlags as jni$_.JMethodIDPtr) .integer; } @@ -13673,23 +14632,23 @@ class Intent extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _getPackage = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getPackage = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String getPackage()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getPackage() { - return _getPackage(reference.pointer, _id_getPackage as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + jni$_.JString? getPackage() { + return _getPackage(reference.pointer, _id_getPackage as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_getComponent = _class.instanceMethodId( @@ -13697,24 +14656,24 @@ class Intent extends _$jni.JObject { r'()Landroid/content/ComponentName;', ); - static final _getComponent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getComponent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.content.ComponentName getComponent()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getComponent() { + jni$_.JObject? getComponent() { return _getComponent( - reference.pointer, _id_getComponent as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getComponent as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getSourceBounds = _class.instanceMethodId( @@ -13722,24 +14681,24 @@ class Intent extends _$jni.JObject { r'()Landroid/graphics/Rect;', ); - static final _getSourceBounds = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getSourceBounds = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.graphics.Rect getSourceBounds()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getSourceBounds() { + jni$_.JObject? getSourceBounds() { return _getSourceBounds( - reference.pointer, _id_getSourceBounds as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getSourceBounds as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_resolveActivity = _class.instanceMethodId( @@ -13747,27 +14706,26 @@ class Intent extends _$jni.JObject { r'(Landroid/content/pm/PackageManager;)Landroid/content/ComponentName;', ); - static final _resolveActivity = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _resolveActivity = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.ComponentName resolveActivity(android.content.pm.PackageManager packageManager)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject resolveActivity( - _$jni.JObject packageManager, + jni$_.JObject? resolveActivity( + jni$_.JObject? packageManager, ) { - return _resolveActivity( - reference.pointer, - _id_resolveActivity as _$jni.JMethodIDPtr, - packageManager.reference.pointer) - .object(const _$jni.JObjectType()); + final _$packageManager = packageManager?.reference ?? jni$_.jNullReference; + return _resolveActivity(reference.pointer, + _id_resolveActivity as jni$_.JMethodIDPtr, _$packageManager.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_resolveActivityInfo = _class.instanceMethodId( @@ -13775,30 +14733,31 @@ class Intent extends _$jni.JObject { r'(Landroid/content/pm/PackageManager;I)Landroid/content/pm/ActivityInfo;', ); - static final _resolveActivityInfo = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _resolveActivityInfo = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public android.content.pm.ActivityInfo resolveActivityInfo(android.content.pm.PackageManager packageManager, int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject resolveActivityInfo( - _$jni.JObject packageManager, + jni$_.JObject? resolveActivityInfo( + jni$_.JObject? packageManager, int i, ) { + final _$packageManager = packageManager?.reference ?? jni$_.jNullReference; return _resolveActivityInfo( reference.pointer, - _id_resolveActivityInfo as _$jni.JMethodIDPtr, - packageManager.reference.pointer, + _id_resolveActivityInfo as jni$_.JMethodIDPtr, + _$packageManager.pointer, i) - .object(const _$jni.JObjectType()); + .object(const jni$_.JObjectNullableType()); } static final _id_setAction = _class.instanceMethodId( @@ -13806,25 +14765,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setAction = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setAction = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Intent setAction(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent setAction( - _$jni.JString string, + Intent? setAction( + jni$_.JString? string, ) { - return _setAction(reference.pointer, _id_setAction as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _setAction(reference.pointer, _id_setAction as jni$_.JMethodIDPtr, + _$string.pointer) + .object(const $Intent$NullableType()); } static final _id_setData = _class.instanceMethodId( @@ -13832,25 +14792,26 @@ class Intent extends _$jni.JObject { r'(Landroid/net/Uri;)Landroid/content/Intent;', ); - static final _setData = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setData = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Intent setData(android.net.Uri uri)` /// The returned object must be released after use, by calling the [release] method. - Intent setData( - _$jni.JObject uri, + Intent? setData( + jni$_.JObject? uri, ) { - return _setData(reference.pointer, _id_setData as _$jni.JMethodIDPtr, - uri.reference.pointer) - .object(const $Intent$Type()); + final _$uri = uri?.reference ?? jni$_.jNullReference; + return _setData( + reference.pointer, _id_setData as jni$_.JMethodIDPtr, _$uri.pointer) + .object(const $Intent$NullableType()); } static final _id_setDataAndNormalize = _class.instanceMethodId( @@ -13858,27 +14819,26 @@ class Intent extends _$jni.JObject { r'(Landroid/net/Uri;)Landroid/content/Intent;', ); - static final _setDataAndNormalize = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setDataAndNormalize = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Intent setDataAndNormalize(android.net.Uri uri)` /// The returned object must be released after use, by calling the [release] method. - Intent setDataAndNormalize( - _$jni.JObject uri, + Intent? setDataAndNormalize( + jni$_.JObject? uri, ) { - return _setDataAndNormalize( - reference.pointer, - _id_setDataAndNormalize as _$jni.JMethodIDPtr, - uri.reference.pointer) - .object(const $Intent$Type()); + final _$uri = uri?.reference ?? jni$_.jNullReference; + return _setDataAndNormalize(reference.pointer, + _id_setDataAndNormalize as jni$_.JMethodIDPtr, _$uri.pointer) + .object(const $Intent$NullableType()); } static final _id_setType = _class.instanceMethodId( @@ -13886,25 +14846,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setType = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setType = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Intent setType(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent setType( - _$jni.JString string, + Intent? setType( + jni$_.JString? string, ) { - return _setType(reference.pointer, _id_setType as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _setType(reference.pointer, _id_setType as jni$_.JMethodIDPtr, + _$string.pointer) + .object(const $Intent$NullableType()); } static final _id_setTypeAndNormalize = _class.instanceMethodId( @@ -13912,27 +14873,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setTypeAndNormalize = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setTypeAndNormalize = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Intent setTypeAndNormalize(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent setTypeAndNormalize( - _$jni.JString string, + Intent? setTypeAndNormalize( + jni$_.JString? string, ) { - return _setTypeAndNormalize( - reference.pointer, - _id_setTypeAndNormalize as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _setTypeAndNormalize(reference.pointer, + _id_setTypeAndNormalize as jni$_.JMethodIDPtr, _$string.pointer) + .object(const $Intent$NullableType()); } static final _id_setDataAndType = _class.instanceMethodId( @@ -13940,35 +14900,37 @@ class Intent extends _$jni.JObject { r'(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setDataAndType = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _setDataAndType = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent setDataAndType(android.net.Uri uri, java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent setDataAndType( - _$jni.JObject uri, - _$jni.JString string, + Intent? setDataAndType( + jni$_.JObject? uri, + jni$_.JString? string, ) { + final _$uri = uri?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; return _setDataAndType( reference.pointer, - _id_setDataAndType as _$jni.JMethodIDPtr, - uri.reference.pointer, - string.reference.pointer) - .object(const $Intent$Type()); + _id_setDataAndType as jni$_.JMethodIDPtr, + _$uri.pointer, + _$string.pointer) + .object(const $Intent$NullableType()); } static final _id_setDataAndTypeAndNormalize = _class.instanceMethodId( @@ -13977,35 +14939,37 @@ class Intent extends _$jni.JObject { ); static final _setDataAndTypeAndNormalize = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent setDataAndTypeAndNormalize(android.net.Uri uri, java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent setDataAndTypeAndNormalize( - _$jni.JObject uri, - _$jni.JString string, + Intent? setDataAndTypeAndNormalize( + jni$_.JObject? uri, + jni$_.JString? string, ) { + final _$uri = uri?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; return _setDataAndTypeAndNormalize( reference.pointer, - _id_setDataAndTypeAndNormalize as _$jni.JMethodIDPtr, - uri.reference.pointer, - string.reference.pointer) - .object(const $Intent$Type()); + _id_setDataAndTypeAndNormalize as jni$_.JMethodIDPtr, + _$uri.pointer, + _$string.pointer) + .object(const $Intent$NullableType()); } static final _id_setIdentifier = _class.instanceMethodId( @@ -14013,25 +14977,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setIdentifier = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setIdentifier = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Intent setIdentifier(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent setIdentifier( - _$jni.JString string, + Intent? setIdentifier( + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _setIdentifier(reference.pointer, - _id_setIdentifier as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const $Intent$Type()); + _id_setIdentifier as jni$_.JMethodIDPtr, _$string.pointer) + .object(const $Intent$NullableType()); } static final _id_addCategory = _class.instanceMethodId( @@ -14039,25 +15004,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _addCategory = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _addCategory = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Intent addCategory(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent addCategory( - _$jni.JString string, + Intent? addCategory( + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _addCategory(reference.pointer, - _id_addCategory as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const $Intent$Type()); + _id_addCategory as jni$_.JMethodIDPtr, _$string.pointer) + .object(const $Intent$NullableType()); } static final _id_removeCategory = _class.instanceMethodId( @@ -14065,23 +15031,24 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)V', ); - static final _removeCategory = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _removeCategory = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void removeCategory(java.lang.String string)` void removeCategory( - _$jni.JString string, + jni$_.JString? string, ) { - _removeCategory(reference.pointer, _id_removeCategory as _$jni.JMethodIDPtr, - string.reference.pointer) + final _$string = string?.reference ?? jni$_.jNullReference; + _removeCategory(reference.pointer, _id_removeCategory as jni$_.JMethodIDPtr, + _$string.pointer) .check(); } @@ -14090,23 +15057,24 @@ class Intent extends _$jni.JObject { r'(Landroid/content/Intent;)V', ); - static final _setSelector = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setSelector = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void setSelector(android.content.Intent intent)` void setSelector( - Intent intent, + Intent? intent, ) { - _setSelector(reference.pointer, _id_setSelector as _$jni.JMethodIDPtr, - intent.reference.pointer) + final _$intent = intent?.reference ?? jni$_.jNullReference; + _setSelector(reference.pointer, _id_setSelector as jni$_.JMethodIDPtr, + _$intent.pointer) .check(); } @@ -14115,23 +15083,24 @@ class Intent extends _$jni.JObject { r'(Landroid/content/ClipData;)V', ); - static final _setClipData = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setClipData = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void setClipData(android.content.ClipData clipData)` void setClipData( - _$jni.JObject clipData, + jni$_.JObject? clipData, ) { - _setClipData(reference.pointer, _id_setClipData as _$jni.JMethodIDPtr, - clipData.reference.pointer) + final _$clipData = clipData?.reference ?? jni$_.jNullReference; + _setClipData(reference.pointer, _id_setClipData as jni$_.JMethodIDPtr, + _$clipData.pointer) .check(); } @@ -14140,27 +15109,28 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Z)Landroid/content/Intent;', ); - static final _putExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _putExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, boolean z)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra( - _$jni.JString string, + Intent? putExtra( + jni$_.JString? string, bool z, ) { - return _putExtra(reference.pointer, _id_putExtra as _$jni.JMethodIDPtr, - string.reference.pointer, z ? 1 : 0) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _putExtra(reference.pointer, _id_putExtra as jni$_.JMethodIDPtr, + _$string.pointer, z ? 1 : 0) + .object(const $Intent$NullableType()); } static final _id_putExtra$1 = _class.instanceMethodId( @@ -14168,27 +15138,28 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;B)Landroid/content/Intent;', ); - static final _putExtra$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _putExtra$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, byte b)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$1( - _$jni.JString string, + Intent? putExtra$1( + jni$_.JString? string, int b, ) { - return _putExtra$1(reference.pointer, _id_putExtra$1 as _$jni.JMethodIDPtr, - string.reference.pointer, b) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _putExtra$1(reference.pointer, _id_putExtra$1 as jni$_.JMethodIDPtr, + _$string.pointer, b) + .object(const $Intent$NullableType()); } static final _id_putExtra$2 = _class.instanceMethodId( @@ -14196,27 +15167,28 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;C)Landroid/content/Intent;', ); - static final _putExtra$2 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _putExtra$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, char c)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$2( - _$jni.JString string, + Intent? putExtra$2( + jni$_.JString? string, int c, ) { - return _putExtra$2(reference.pointer, _id_putExtra$2 as _$jni.JMethodIDPtr, - string.reference.pointer, c) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _putExtra$2(reference.pointer, _id_putExtra$2 as jni$_.JMethodIDPtr, + _$string.pointer, c) + .object(const $Intent$NullableType()); } static final _id_putExtra$3 = _class.instanceMethodId( @@ -14224,27 +15196,28 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;S)Landroid/content/Intent;', ); - static final _putExtra$3 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _putExtra$3 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, short s)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$3( - _$jni.JString string, + Intent? putExtra$3( + jni$_.JString? string, int s, ) { - return _putExtra$3(reference.pointer, _id_putExtra$3 as _$jni.JMethodIDPtr, - string.reference.pointer, s) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _putExtra$3(reference.pointer, _id_putExtra$3 as jni$_.JMethodIDPtr, + _$string.pointer, s) + .object(const $Intent$NullableType()); } static final _id_putExtra$4 = _class.instanceMethodId( @@ -14252,27 +15225,28 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;I)Landroid/content/Intent;', ); - static final _putExtra$4 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _putExtra$4 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$4( - _$jni.JString string, + Intent? putExtra$4( + jni$_.JString? string, int i, ) { - return _putExtra$4(reference.pointer, _id_putExtra$4 as _$jni.JMethodIDPtr, - string.reference.pointer, i) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _putExtra$4(reference.pointer, _id_putExtra$4 as jni$_.JMethodIDPtr, + _$string.pointer, i) + .object(const $Intent$NullableType()); } static final _id_putExtra$5 = _class.instanceMethodId( @@ -14280,27 +15254,28 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;J)Landroid/content/Intent;', ); - static final _putExtra$5 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int64)>)>>( + static final _putExtra$5 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, long j)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$5( - _$jni.JString string, + Intent? putExtra$5( + jni$_.JString? string, int j, ) { - return _putExtra$5(reference.pointer, _id_putExtra$5 as _$jni.JMethodIDPtr, - string.reference.pointer, j) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _putExtra$5(reference.pointer, _id_putExtra$5 as jni$_.JMethodIDPtr, + _$string.pointer, j) + .object(const $Intent$NullableType()); } static final _id_putExtra$6 = _class.instanceMethodId( @@ -14308,29 +15283,30 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;F)Landroid/content/Intent;', ); - static final _putExtra$6 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$6 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Double + jni$_.Pointer, + jni$_.Double )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, double)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, float f)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$6( - _$jni.JString string, + Intent? putExtra$6( + jni$_.JString? string, double f, ) { - return _putExtra$6(reference.pointer, _id_putExtra$6 as _$jni.JMethodIDPtr, - string.reference.pointer, f) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _putExtra$6(reference.pointer, _id_putExtra$6 as jni$_.JMethodIDPtr, + _$string.pointer, f) + .object(const $Intent$NullableType()); } static final _id_putExtra$7 = _class.instanceMethodId( @@ -14338,29 +15314,30 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;D)Landroid/content/Intent;', ); - static final _putExtra$7 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$7 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Double + jni$_.Pointer, + jni$_.Double )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, double)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, double d)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$7( - _$jni.JString string, + Intent? putExtra$7( + jni$_.JString? string, double d, ) { - return _putExtra$7(reference.pointer, _id_putExtra$7 as _$jni.JMethodIDPtr, - string.reference.pointer, d) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _putExtra$7(reference.pointer, _id_putExtra$7 as jni$_.JMethodIDPtr, + _$string.pointer, d) + .object(const $Intent$NullableType()); } static final _id_putExtra$8 = _class.instanceMethodId( @@ -14368,32 +15345,34 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _putExtra$8 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$8 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$8( - _$jni.JString string, - _$jni.JString string1, + Intent? putExtra$8( + jni$_.JString? string, + jni$_.JString? string1, ) { - return _putExtra$8(reference.pointer, _id_putExtra$8 as _$jni.JMethodIDPtr, - string.reference.pointer, string1.reference.pointer) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; + return _putExtra$8(reference.pointer, _id_putExtra$8 as jni$_.JMethodIDPtr, + _$string.pointer, _$string1.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$9 = _class.instanceMethodId( @@ -14401,32 +15380,34 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;', ); - static final _putExtra$9 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$9 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, java.lang.CharSequence charSequence)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$9( - _$jni.JString string, - _$jni.JObject charSequence, + Intent? putExtra$9( + jni$_.JString? string, + jni$_.JObject? charSequence, ) { - return _putExtra$9(reference.pointer, _id_putExtra$9 as _$jni.JMethodIDPtr, - string.reference.pointer, charSequence.reference.pointer) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + final _$charSequence = charSequence?.reference ?? jni$_.jNullReference; + return _putExtra$9(reference.pointer, _id_putExtra$9 as jni$_.JMethodIDPtr, + _$string.pointer, _$charSequence.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$10 = _class.instanceMethodId( @@ -14434,35 +15415,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;', ); - static final _putExtra$10 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$10 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, android.os.Parcelable parcelable)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$10( - _$jni.JString string, - _$jni.JObject parcelable, + Intent? putExtra$10( + jni$_.JString? string, + jni$_.JObject? parcelable, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$parcelable = parcelable?.reference ?? jni$_.jNullReference; return _putExtra$10( reference.pointer, - _id_putExtra$10 as _$jni.JMethodIDPtr, - string.reference.pointer, - parcelable.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$10 as jni$_.JMethodIDPtr, + _$string.pointer, + _$parcelable.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$11 = _class.instanceMethodId( @@ -14470,35 +15453,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;[Landroid/os/Parcelable;)Landroid/content/Intent;', ); - static final _putExtra$11 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$11 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, android.os.Parcelable[] parcelables)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$11( - _$jni.JString string, - _$jni.JArray<_$jni.JObject> parcelables, + Intent? putExtra$11( + jni$_.JString? string, + jni$_.JArray? parcelables, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$parcelables = parcelables?.reference ?? jni$_.jNullReference; return _putExtra$11( reference.pointer, - _id_putExtra$11 as _$jni.JMethodIDPtr, - string.reference.pointer, - parcelables.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$11 as jni$_.JMethodIDPtr, + _$string.pointer, + _$parcelables.pointer) + .object(const $Intent$NullableType()); } static final _id_putParcelableArrayListExtra = _class.instanceMethodId( @@ -14507,35 +15492,37 @@ class Intent extends _$jni.JObject { ); static final _putParcelableArrayListExtra = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putParcelableArrayListExtra(java.lang.String string, java.util.ArrayList arrayList)` /// The returned object must be released after use, by calling the [release] method. - Intent putParcelableArrayListExtra( - _$jni.JString string, - _$jni.JObject arrayList, + Intent? putParcelableArrayListExtra( + jni$_.JString? string, + jni$_.JObject? arrayList, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$arrayList = arrayList?.reference ?? jni$_.jNullReference; return _putParcelableArrayListExtra( reference.pointer, - _id_putParcelableArrayListExtra as _$jni.JMethodIDPtr, - string.reference.pointer, - arrayList.reference.pointer) - .object(const $Intent$Type()); + _id_putParcelableArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer, + _$arrayList.pointer) + .object(const $Intent$NullableType()); } static final _id_putIntegerArrayListExtra = _class.instanceMethodId( @@ -14543,35 +15530,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;', ); - static final _putIntegerArrayListExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putIntegerArrayListExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putIntegerArrayListExtra(java.lang.String string, java.util.ArrayList arrayList)` /// The returned object must be released after use, by calling the [release] method. - Intent putIntegerArrayListExtra( - _$jni.JString string, - _$jni.JObject arrayList, + Intent? putIntegerArrayListExtra( + jni$_.JString? string, + jni$_.JObject? arrayList, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$arrayList = arrayList?.reference ?? jni$_.jNullReference; return _putIntegerArrayListExtra( reference.pointer, - _id_putIntegerArrayListExtra as _$jni.JMethodIDPtr, - string.reference.pointer, - arrayList.reference.pointer) - .object(const $Intent$Type()); + _id_putIntegerArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer, + _$arrayList.pointer) + .object(const $Intent$NullableType()); } static final _id_putStringArrayListExtra = _class.instanceMethodId( @@ -14579,35 +15568,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;', ); - static final _putStringArrayListExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putStringArrayListExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putStringArrayListExtra(java.lang.String string, java.util.ArrayList arrayList)` /// The returned object must be released after use, by calling the [release] method. - Intent putStringArrayListExtra( - _$jni.JString string, - _$jni.JObject arrayList, + Intent? putStringArrayListExtra( + jni$_.JString? string, + jni$_.JObject? arrayList, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$arrayList = arrayList?.reference ?? jni$_.jNullReference; return _putStringArrayListExtra( reference.pointer, - _id_putStringArrayListExtra as _$jni.JMethodIDPtr, - string.reference.pointer, - arrayList.reference.pointer) - .object(const $Intent$Type()); + _id_putStringArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer, + _$arrayList.pointer) + .object(const $Intent$NullableType()); } static final _id_putCharSequenceArrayListExtra = _class.instanceMethodId( @@ -14616,35 +15607,37 @@ class Intent extends _$jni.JObject { ); static final _putCharSequenceArrayListExtra = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putCharSequenceArrayListExtra(java.lang.String string, java.util.ArrayList arrayList)` /// The returned object must be released after use, by calling the [release] method. - Intent putCharSequenceArrayListExtra( - _$jni.JString string, - _$jni.JObject arrayList, + Intent? putCharSequenceArrayListExtra( + jni$_.JString? string, + jni$_.JObject? arrayList, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$arrayList = arrayList?.reference ?? jni$_.jNullReference; return _putCharSequenceArrayListExtra( reference.pointer, - _id_putCharSequenceArrayListExtra as _$jni.JMethodIDPtr, - string.reference.pointer, - arrayList.reference.pointer) - .object(const $Intent$Type()); + _id_putCharSequenceArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer, + _$arrayList.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$12 = _class.instanceMethodId( @@ -14652,35 +15645,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;', ); - static final _putExtra$12 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$12 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, java.io.Serializable serializable)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$12( - _$jni.JString string, - _$jni.JObject serializable, + Intent? putExtra$12( + jni$_.JString? string, + jni$_.JObject? serializable, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$serializable = serializable?.reference ?? jni$_.jNullReference; return _putExtra$12( reference.pointer, - _id_putExtra$12 as _$jni.JMethodIDPtr, - string.reference.pointer, - serializable.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$12 as jni$_.JMethodIDPtr, + _$string.pointer, + _$serializable.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$13 = _class.instanceMethodId( @@ -14688,35 +15683,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;[Z)Landroid/content/Intent;', ); - static final _putExtra$13 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$13 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, boolean[] zs)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$13( - _$jni.JString string, - _$jni.JArray<_$jni.jboolean> zs, + Intent? putExtra$13( + jni$_.JString? string, + jni$_.JBooleanArray? zs, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$zs = zs?.reference ?? jni$_.jNullReference; return _putExtra$13( reference.pointer, - _id_putExtra$13 as _$jni.JMethodIDPtr, - string.reference.pointer, - zs.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$13 as jni$_.JMethodIDPtr, + _$string.pointer, + _$zs.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$14 = _class.instanceMethodId( @@ -14724,35 +15721,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;[B)Landroid/content/Intent;', ); - static final _putExtra$14 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$14 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, byte[] bs)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$14( - _$jni.JString string, - _$jni.JArray<_$jni.jbyte> bs, + Intent? putExtra$14( + jni$_.JString? string, + jni$_.JByteArray? bs, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$bs = bs?.reference ?? jni$_.jNullReference; return _putExtra$14( reference.pointer, - _id_putExtra$14 as _$jni.JMethodIDPtr, - string.reference.pointer, - bs.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$14 as jni$_.JMethodIDPtr, + _$string.pointer, + _$bs.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$15 = _class.instanceMethodId( @@ -14760,35 +15759,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;[S)Landroid/content/Intent;', ); - static final _putExtra$15 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$15 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, short[] ss)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$15( - _$jni.JString string, - _$jni.JArray<_$jni.jshort> ss, + Intent? putExtra$15( + jni$_.JString? string, + jni$_.JShortArray? ss, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$ss = ss?.reference ?? jni$_.jNullReference; return _putExtra$15( reference.pointer, - _id_putExtra$15 as _$jni.JMethodIDPtr, - string.reference.pointer, - ss.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$15 as jni$_.JMethodIDPtr, + _$string.pointer, + _$ss.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$16 = _class.instanceMethodId( @@ -14796,35 +15797,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;[C)Landroid/content/Intent;', ); - static final _putExtra$16 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$16 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, char[] cs)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$16( - _$jni.JString string, - _$jni.JArray<_$jni.jchar> cs, + Intent? putExtra$16( + jni$_.JString? string, + jni$_.JCharArray? cs, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$cs = cs?.reference ?? jni$_.jNullReference; return _putExtra$16( reference.pointer, - _id_putExtra$16 as _$jni.JMethodIDPtr, - string.reference.pointer, - cs.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$16 as jni$_.JMethodIDPtr, + _$string.pointer, + _$cs.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$17 = _class.instanceMethodId( @@ -14832,35 +15835,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;[I)Landroid/content/Intent;', ); - static final _putExtra$17 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$17 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, int[] is)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$17( - _$jni.JString string, - _$jni.JArray<_$jni.jint> is$, + Intent? putExtra$17( + jni$_.JString? string, + jni$_.JIntArray? is$, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$is$ = is$?.reference ?? jni$_.jNullReference; return _putExtra$17( reference.pointer, - _id_putExtra$17 as _$jni.JMethodIDPtr, - string.reference.pointer, - is$.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$17 as jni$_.JMethodIDPtr, + _$string.pointer, + _$is$.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$18 = _class.instanceMethodId( @@ -14868,35 +15873,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;[J)Landroid/content/Intent;', ); - static final _putExtra$18 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$18 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, long[] js)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$18( - _$jni.JString string, - _$jni.JArray<_$jni.jlong> js, + Intent? putExtra$18( + jni$_.JString? string, + jni$_.JLongArray? js, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$js = js?.reference ?? jni$_.jNullReference; return _putExtra$18( reference.pointer, - _id_putExtra$18 as _$jni.JMethodIDPtr, - string.reference.pointer, - js.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$18 as jni$_.JMethodIDPtr, + _$string.pointer, + _$js.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$19 = _class.instanceMethodId( @@ -14904,35 +15911,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;[F)Landroid/content/Intent;', ); - static final _putExtra$19 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$19 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, float[] fs)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$19( - _$jni.JString string, - _$jni.JArray<_$jni.jfloat> fs, + Intent? putExtra$19( + jni$_.JString? string, + jni$_.JFloatArray? fs, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$fs = fs?.reference ?? jni$_.jNullReference; return _putExtra$19( reference.pointer, - _id_putExtra$19 as _$jni.JMethodIDPtr, - string.reference.pointer, - fs.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$19 as jni$_.JMethodIDPtr, + _$string.pointer, + _$fs.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$20 = _class.instanceMethodId( @@ -14940,35 +15949,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;[D)Landroid/content/Intent;', ); - static final _putExtra$20 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$20 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, double[] ds)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$20( - _$jni.JString string, - _$jni.JArray<_$jni.jdouble> ds, + Intent? putExtra$20( + jni$_.JString? string, + jni$_.JDoubleArray? ds, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$ds = ds?.reference ?? jni$_.jNullReference; return _putExtra$20( reference.pointer, - _id_putExtra$20 as _$jni.JMethodIDPtr, - string.reference.pointer, - ds.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$20 as jni$_.JMethodIDPtr, + _$string.pointer, + _$ds.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$21 = _class.instanceMethodId( @@ -14976,35 +15987,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;', ); - static final _putExtra$21 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$21 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, java.lang.String[] strings)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$21( - _$jni.JString string, - _$jni.JArray<_$jni.JString> strings, + Intent? putExtra$21( + jni$_.JString? string, + jni$_.JArray? strings, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$strings = strings?.reference ?? jni$_.jNullReference; return _putExtra$21( reference.pointer, - _id_putExtra$21 as _$jni.JMethodIDPtr, - string.reference.pointer, - strings.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$21 as jni$_.JMethodIDPtr, + _$string.pointer, + _$strings.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$22 = _class.instanceMethodId( @@ -15012,35 +16025,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;[Ljava/lang/CharSequence;)Landroid/content/Intent;', ); - static final _putExtra$22 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$22 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, java.lang.CharSequence[] charSequences)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$22( - _$jni.JString string, - _$jni.JArray<_$jni.JObject> charSequences, + Intent? putExtra$22( + jni$_.JString? string, + jni$_.JArray? charSequences, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$charSequences = charSequences?.reference ?? jni$_.jNullReference; return _putExtra$22( reference.pointer, - _id_putExtra$22 as _$jni.JMethodIDPtr, - string.reference.pointer, - charSequences.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$22 as jni$_.JMethodIDPtr, + _$string.pointer, + _$charSequences.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtra$23 = _class.instanceMethodId( @@ -15048,35 +16063,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;', ); - static final _putExtra$23 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _putExtra$23 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent putExtra(java.lang.String string, android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra$23( - _$jni.JString string, - _$jni.JObject bundle, + Intent? putExtra$23( + jni$_.JString? string, + jni$_.JObject? bundle, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; return _putExtra$23( reference.pointer, - _id_putExtra$23 as _$jni.JMethodIDPtr, - string.reference.pointer, - bundle.reference.pointer) - .object(const $Intent$Type()); + _id_putExtra$23 as jni$_.JMethodIDPtr, + _$string.pointer, + _$bundle.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtras = _class.instanceMethodId( @@ -15084,25 +16101,26 @@ class Intent extends _$jni.JObject { r'(Landroid/content/Intent;)Landroid/content/Intent;', ); - static final _putExtras = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _putExtras = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Intent putExtras(android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtras( - Intent intent, + Intent? putExtras( + Intent? intent, ) { - return _putExtras(reference.pointer, _id_putExtras as _$jni.JMethodIDPtr, - intent.reference.pointer) - .object(const $Intent$Type()); + final _$intent = intent?.reference ?? jni$_.jNullReference; + return _putExtras(reference.pointer, _id_putExtras as jni$_.JMethodIDPtr, + _$intent.pointer) + .object(const $Intent$NullableType()); } static final _id_putExtras$1 = _class.instanceMethodId( @@ -15110,25 +16128,26 @@ class Intent extends _$jni.JObject { r'(Landroid/os/Bundle;)Landroid/content/Intent;', ); - static final _putExtras$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _putExtras$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Intent putExtras(android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtras$1( - _$jni.JObject bundle, + Intent? putExtras$1( + jni$_.JObject? bundle, ) { + final _$bundle = bundle?.reference ?? jni$_.jNullReference; return _putExtras$1(reference.pointer, - _id_putExtras$1 as _$jni.JMethodIDPtr, bundle.reference.pointer) - .object(const $Intent$Type()); + _id_putExtras$1 as jni$_.JMethodIDPtr, _$bundle.pointer) + .object(const $Intent$NullableType()); } static final _id_replaceExtras = _class.instanceMethodId( @@ -15136,25 +16155,26 @@ class Intent extends _$jni.JObject { r'(Landroid/content/Intent;)Landroid/content/Intent;', ); - static final _replaceExtras = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _replaceExtras = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Intent replaceExtras(android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - Intent replaceExtras( - Intent intent, + Intent? replaceExtras( + Intent? intent, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; return _replaceExtras(reference.pointer, - _id_replaceExtras as _$jni.JMethodIDPtr, intent.reference.pointer) - .object(const $Intent$Type()); + _id_replaceExtras as jni$_.JMethodIDPtr, _$intent.pointer) + .object(const $Intent$NullableType()); } static final _id_replaceExtras$1 = _class.instanceMethodId( @@ -15162,25 +16182,26 @@ class Intent extends _$jni.JObject { r'(Landroid/os/Bundle;)Landroid/content/Intent;', ); - static final _replaceExtras$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _replaceExtras$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Intent replaceExtras(android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. - Intent replaceExtras$1( - _$jni.JObject bundle, + Intent? replaceExtras$1( + jni$_.JObject? bundle, ) { + final _$bundle = bundle?.reference ?? jni$_.jNullReference; return _replaceExtras$1(reference.pointer, - _id_replaceExtras$1 as _$jni.JMethodIDPtr, bundle.reference.pointer) - .object(const $Intent$Type()); + _id_replaceExtras$1 as jni$_.JMethodIDPtr, _$bundle.pointer) + .object(const $Intent$NullableType()); } static final _id_removeExtra = _class.instanceMethodId( @@ -15188,23 +16209,24 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)V', ); - static final _removeExtra = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _removeExtra = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void removeExtra(java.lang.String string)` void removeExtra( - _$jni.JString string, + jni$_.JString? string, ) { - _removeExtra(reference.pointer, _id_removeExtra as _$jni.JMethodIDPtr, - string.reference.pointer) + final _$string = string?.reference ?? jni$_.jNullReference; + _removeExtra(reference.pointer, _id_removeExtra as jni$_.JMethodIDPtr, + _$string.pointer) .check(); } @@ -15213,23 +16235,23 @@ class Intent extends _$jni.JObject { r'(I)Landroid/content/Intent;', ); - static final _setFlags = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') + static final _setFlags = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public android.content.Intent setFlags(int i)` /// The returned object must be released after use, by calling the [release] method. - Intent setFlags( + Intent? setFlags( int i, ) { - return _setFlags(reference.pointer, _id_setFlags as _$jni.JMethodIDPtr, i) - .object(const $Intent$Type()); + return _setFlags(reference.pointer, _id_setFlags as jni$_.JMethodIDPtr, i) + .object(const $Intent$NullableType()); } static final _id_addFlags = _class.instanceMethodId( @@ -15237,23 +16259,23 @@ class Intent extends _$jni.JObject { r'(I)Landroid/content/Intent;', ); - static final _addFlags = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') + static final _addFlags = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public android.content.Intent addFlags(int i)` /// The returned object must be released after use, by calling the [release] method. - Intent addFlags( + Intent? addFlags( int i, ) { - return _addFlags(reference.pointer, _id_addFlags as _$jni.JMethodIDPtr, i) - .object(const $Intent$Type()); + return _addFlags(reference.pointer, _id_addFlags as jni$_.JMethodIDPtr, i) + .object(const $Intent$NullableType()); } static final _id_removeFlags = _class.instanceMethodId( @@ -15261,21 +16283,21 @@ class Intent extends _$jni.JObject { r'(I)V', ); - static final _removeFlags = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _removeFlags = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void removeFlags(int i)` void removeFlags( int i, ) { - _removeFlags(reference.pointer, _id_removeFlags as _$jni.JMethodIDPtr, i) + _removeFlags(reference.pointer, _id_removeFlags as jni$_.JMethodIDPtr, i) .check(); } @@ -15284,25 +16306,26 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setPackage = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setPackage = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Intent setPackage(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent setPackage( - _$jni.JString string, + Intent? setPackage( + jni$_.JString? string, ) { - return _setPackage(reference.pointer, _id_setPackage as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const $Intent$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _setPackage(reference.pointer, _id_setPackage as jni$_.JMethodIDPtr, + _$string.pointer) + .object(const $Intent$NullableType()); } static final _id_setComponent = _class.instanceMethodId( @@ -15310,27 +16333,26 @@ class Intent extends _$jni.JObject { r'(Landroid/content/ComponentName;)Landroid/content/Intent;', ); - static final _setComponent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setComponent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.content.Intent setComponent(android.content.ComponentName componentName)` /// The returned object must be released after use, by calling the [release] method. - Intent setComponent( - _$jni.JObject componentName, + Intent? setComponent( + jni$_.JObject? componentName, ) { - return _setComponent( - reference.pointer, - _id_setComponent as _$jni.JMethodIDPtr, - componentName.reference.pointer) - .object(const $Intent$Type()); + final _$componentName = componentName?.reference ?? jni$_.jNullReference; + return _setComponent(reference.pointer, + _id_setComponent as jni$_.JMethodIDPtr, _$componentName.pointer) + .object(const $Intent$NullableType()); } static final _id_setClassName = _class.instanceMethodId( @@ -15338,35 +16360,37 @@ class Intent extends _$jni.JObject { r'(Landroid/content/Context;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setClassName = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _setClassName = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent setClassName(android.content.Context context, java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent setClassName( - Context context, - _$jni.JString string, + Intent? setClassName( + Context? context, + jni$_.JString? string, ) { + final _$context = context?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; return _setClassName( reference.pointer, - _id_setClassName as _$jni.JMethodIDPtr, - context.reference.pointer, - string.reference.pointer) - .object(const $Intent$Type()); + _id_setClassName as jni$_.JMethodIDPtr, + _$context.pointer, + _$string.pointer) + .object(const $Intent$NullableType()); } static final _id_setClassName$1 = _class.instanceMethodId( @@ -15374,35 +16398,37 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setClassName$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _setClassName$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent setClassName(java.lang.String string, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. - Intent setClassName$1( - _$jni.JString string, - _$jni.JString string1, + Intent? setClassName$1( + jni$_.JString? string, + jni$_.JString? string1, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; return _setClassName$1( reference.pointer, - _id_setClassName$1 as _$jni.JMethodIDPtr, - string.reference.pointer, - string1.reference.pointer) - .object(const $Intent$Type()); + _id_setClassName$1 as jni$_.JMethodIDPtr, + _$string.pointer, + _$string1.pointer) + .object(const $Intent$NullableType()); } static final _id_setClass = _class.instanceMethodId( @@ -15410,32 +16436,34 @@ class Intent extends _$jni.JObject { r'(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;', ); - static final _setClass = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _setClass = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.content.Intent setClass(android.content.Context context, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. - Intent setClass( - Context context, - _$jni.JObject class$, + Intent? setClass( + Context? context, + jni$_.JObject? class$, ) { - return _setClass(reference.pointer, _id_setClass as _$jni.JMethodIDPtr, - context.reference.pointer, class$.reference.pointer) - .object(const $Intent$Type()); + final _$context = context?.reference ?? jni$_.jNullReference; + final _$class$ = class$?.reference ?? jni$_.jNullReference; + return _setClass(reference.pointer, _id_setClass as jni$_.JMethodIDPtr, + _$context.pointer, _$class$.pointer) + .object(const $Intent$NullableType()); } static final _id_setSourceBounds = _class.instanceMethodId( @@ -15443,23 +16471,24 @@ class Intent extends _$jni.JObject { r'(Landroid/graphics/Rect;)V', ); - static final _setSourceBounds = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setSourceBounds = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void setSourceBounds(android.graphics.Rect rect)` void setSourceBounds( - _$jni.JObject rect, + jni$_.JObject? rect, ) { + final _$rect = rect?.reference ?? jni$_.jNullReference; _setSourceBounds(reference.pointer, - _id_setSourceBounds as _$jni.JMethodIDPtr, rect.reference.pointer) + _id_setSourceBounds as jni$_.JMethodIDPtr, _$rect.pointer) .check(); } @@ -15468,25 +16497,26 @@ class Intent extends _$jni.JObject { r'(Landroid/content/Intent;I)I', ); - static final _fillIn = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _fillIn = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public int fillIn(android.content.Intent intent, int i)` int fillIn( - Intent intent, + Intent? intent, int i, ) { - return _fillIn(reference.pointer, _id_fillIn as _$jni.JMethodIDPtr, - intent.reference.pointer, i) + final _$intent = intent?.reference ?? jni$_.jNullReference; + return _fillIn(reference.pointer, _id_fillIn as jni$_.JMethodIDPtr, + _$intent.pointer, i) .integer; } @@ -15495,23 +16525,24 @@ class Intent extends _$jni.JObject { r'(Landroid/content/Intent;)Z', ); - static final _filterEquals = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _filterEquals = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean filterEquals(android.content.Intent intent)` bool filterEquals( - Intent intent, + Intent? intent, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; return _filterEquals(reference.pointer, - _id_filterEquals as _$jni.JMethodIDPtr, intent.reference.pointer) + _id_filterEquals as jni$_.JMethodIDPtr, _$intent.pointer) .boolean; } @@ -15520,22 +16551,22 @@ class Intent extends _$jni.JObject { r'()I', ); - static final _filterHashCode = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _filterHashCode = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int filterHashCode()` int filterHashCode() { return _filterHashCode( - reference.pointer, _id_filterHashCode as _$jni.JMethodIDPtr) + reference.pointer, _id_filterHashCode as jni$_.JMethodIDPtr) .integer; } @@ -15544,23 +16575,23 @@ class Intent extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _toString$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _toString$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String toString()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString toString$1() { - return _toString$1(reference.pointer, _id_toString$1 as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + jni$_.JString? toString$1() { + return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_toURI = _class.instanceMethodId( @@ -15568,23 +16599,23 @@ class Intent extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _toURI = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _toURI = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String toURI()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString toURI() { - return _toURI(reference.pointer, _id_toURI as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + jni$_.JString? toURI() { + return _toURI(reference.pointer, _id_toURI as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_toUri = _class.instanceMethodId( @@ -15592,23 +16623,23 @@ class Intent extends _$jni.JObject { r'(I)Ljava/lang/String;', ); - static final _toUri = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') + static final _toUri = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public java.lang.String toUri(int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString toUri( + jni$_.JString? toUri( int i, ) { - return _toUri(reference.pointer, _id_toUri as _$jni.JMethodIDPtr, i) - .object(const _$jni.JStringType()); + return _toUri(reference.pointer, _id_toUri as jni$_.JMethodIDPtr, i) + .object(const jni$_.JStringNullableType()); } static final _id_describeContents = _class.instanceMethodId( @@ -15616,22 +16647,22 @@ class Intent extends _$jni.JObject { r'()I', ); - static final _describeContents = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _describeContents = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int describeContents()` int describeContents() { return _describeContents( - reference.pointer, _id_describeContents as _$jni.JMethodIDPtr) + reference.pointer, _id_describeContents as jni$_.JMethodIDPtr) .integer; } @@ -15640,25 +16671,26 @@ class Intent extends _$jni.JObject { r'(Landroid/os/Parcel;I)V', ); - static final _writeToParcel = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _writeToParcel = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public void writeToParcel(android.os.Parcel parcel, int i)` void writeToParcel( - _$jni.JObject parcel, + jni$_.JObject? parcel, int i, ) { - _writeToParcel(reference.pointer, _id_writeToParcel as _$jni.JMethodIDPtr, - parcel.reference.pointer, i) + final _$parcel = parcel?.reference ?? jni$_.jNullReference; + _writeToParcel(reference.pointer, _id_writeToParcel as jni$_.JMethodIDPtr, + _$parcel.pointer, i) .check(); } @@ -15667,23 +16699,24 @@ class Intent extends _$jni.JObject { r'(Landroid/os/Parcel;)V', ); - static final _readFromParcel = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _readFromParcel = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void readFromParcel(android.os.Parcel parcel)` void readFromParcel( - _$jni.JObject parcel, + jni$_.JObject? parcel, ) { - _readFromParcel(reference.pointer, _id_readFromParcel as _$jni.JMethodIDPtr, - parcel.reference.pointer) + final _$parcel = parcel?.reference ?? jni$_.jNullReference; + _readFromParcel(reference.pointer, _id_readFromParcel as jni$_.JMethodIDPtr, + _$parcel.pointer) .check(); } @@ -15692,39 +16725,42 @@ class Intent extends _$jni.JObject { r'(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;)Landroid/content/Intent;', ); - static final _parseIntent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _parseIntent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `static public android.content.Intent parseIntent(android.content.res.Resources resources, org.xmlpull.v1.XmlPullParser xmlPullParser, android.util.AttributeSet attributeSet)` /// The returned object must be released after use, by calling the [release] method. - static Intent parseIntent( - _$jni.JObject resources, - _$jni.JObject xmlPullParser, - _$jni.JObject attributeSet, + static Intent? parseIntent( + jni$_.JObject? resources, + jni$_.JObject? xmlPullParser, + jni$_.JObject? attributeSet, ) { + final _$resources = resources?.reference ?? jni$_.jNullReference; + final _$xmlPullParser = xmlPullParser?.reference ?? jni$_.jNullReference; + final _$attributeSet = attributeSet?.reference ?? jni$_.jNullReference; return _parseIntent( _class.reference.pointer, - _id_parseIntent as _$jni.JMethodIDPtr, - resources.reference.pointer, - xmlPullParser.reference.pointer, - attributeSet.reference.pointer) - .object(const $Intent$Type()); + _id_parseIntent as jni$_.JMethodIDPtr, + _$resources.pointer, + _$xmlPullParser.pointer, + _$attributeSet.pointer) + .object(const $Intent$NullableType()); } static final _id_normalizeMimeType = _class.staticMethodId( @@ -15732,75 +16768,116 @@ class Intent extends _$jni.JObject { r'(Ljava/lang/String;)Ljava/lang/String;', ); - static final _normalizeMimeType = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _normalizeMimeType = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public java.lang.String normalizeMimeType(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JString normalizeMimeType( - _$jni.JString string, + static jni$_.JString? normalizeMimeType( + jni$_.JString? string, ) { - return _normalizeMimeType( - _class.reference.pointer, - _id_normalizeMimeType as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JStringType()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _normalizeMimeType(_class.reference.pointer, + _id_normalizeMimeType as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JStringNullableType()); } } -final class $Intent$Type extends _$jni.JObjType { - @_$jni.internal - const $Intent$Type(); +final class $Intent$NullableType extends jni$_.JObjType { + @jni$_.internal + const $Intent$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroid/content/Intent;'; - @_$jni.internal - @_$core.override - Intent fromReference(_$jni.JReference reference) => - Intent.fromReference(reference); + @jni$_.internal + @core$_.override + Intent? fromReference(jni$_.JReference reference) => reference.isNull + ? null + : Intent.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override + int get hashCode => ($Intent$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($Intent$NullableType) && + other is $Intent$NullableType; + } +} + +final class $Intent$Type extends jni$_.JObjType { + @jni$_.internal + const $Intent$Type(); + + @jni$_.internal + @core$_.override + String get signature => r'Landroid/content/Intent;'; + + @jni$_.internal + @core$_.override + Intent fromReference(jni$_.JReference reference) => Intent.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => const $Intent$NullableType(); + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override int get hashCode => ($Intent$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($Intent$Type) && other is $Intent$Type; } } /// from: `android.app.Activity` -class Activity extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; +class Activity extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; - @_$jni.internal + @jni$_.internal Activity.fromReference( - _$jni.JReference reference, + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName(r'android/app/Activity'); + static final _class = jni$_.JClass.forName(r'android/app/Activity'); /// The type which includes information such as the signature of this class. + static const nullableType = $Activity$NullableType(); static const type = $Activity$Type(); /// from: `static public final int DEFAULT_KEYS_DIALER` @@ -15830,23 +16907,23 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Activity() { return Activity.fromReference( - _new$(_class.reference.pointer, _id_new$ as _$jni.JMethodIDPtr) + _new$(_class.reference.pointer, _id_new$ as jni$_.JMethodIDPtr) .reference); } @@ -15855,23 +16932,23 @@ class Activity extends _$jni.JObject { r'()Landroid/content/Intent;', ); - static final _getIntent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getIntent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.content.Intent getIntent()` /// The returned object must be released after use, by calling the [release] method. - Intent getIntent() { - return _getIntent(reference.pointer, _id_getIntent as _$jni.JMethodIDPtr) - .object(const $Intent$Type()); + Intent? getIntent() { + return _getIntent(reference.pointer, _id_getIntent as jni$_.JMethodIDPtr) + .object(const $Intent$NullableType()); } static final _id_setIntent = _class.instanceMethodId( @@ -15879,23 +16956,24 @@ class Activity extends _$jni.JObject { r'(Landroid/content/Intent;)V', ); - static final _setIntent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setIntent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void setIntent(android.content.Intent intent)` void setIntent( - Intent intent, + Intent? intent, ) { - _setIntent(reference.pointer, _id_setIntent as _$jni.JMethodIDPtr, - intent.reference.pointer) + final _$intent = intent?.reference ?? jni$_.jNullReference; + _setIntent(reference.pointer, _id_setIntent as jni$_.JMethodIDPtr, + _$intent.pointer) .check(); } @@ -15904,33 +16982,35 @@ class Activity extends _$jni.JObject { r'(Landroid/content/LocusId;Landroid/os/Bundle;)V', ); - static final _setLocusContext = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _setLocusContext = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void setLocusContext(android.content.LocusId locusId, android.os.Bundle bundle)` void setLocusContext( - _$jni.JObject locusId, - _$jni.JObject bundle, + jni$_.JObject? locusId, + jni$_.JObject? bundle, ) { + final _$locusId = locusId?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _setLocusContext( reference.pointer, - _id_setLocusContext as _$jni.JMethodIDPtr, - locusId.reference.pointer, - bundle.reference.pointer) + _id_setLocusContext as jni$_.JMethodIDPtr, + _$locusId.pointer, + _$bundle.pointer) .check(); } @@ -15939,24 +17019,24 @@ class Activity extends _$jni.JObject { r'()Landroid/app/Application;', ); - static final _getApplication = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getApplication = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final android.app.Application getApplication()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getApplication() { + jni$_.JObject? getApplication() { return _getApplication( - reference.pointer, _id_getApplication as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getApplication as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_isChild = _class.instanceMethodId( @@ -15964,21 +17044,21 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _isChild = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isChild = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final boolean isChild()` bool isChild() { - return _isChild(reference.pointer, _id_isChild as _$jni.JMethodIDPtr) + return _isChild(reference.pointer, _id_isChild as jni$_.JMethodIDPtr) .boolean; } @@ -15987,23 +17067,23 @@ class Activity extends _$jni.JObject { r'()Landroid/app/Activity;', ); - static final _getParent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getParent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final android.app.Activity getParent()` /// The returned object must be released after use, by calling the [release] method. - Activity getParent() { - return _getParent(reference.pointer, _id_getParent as _$jni.JMethodIDPtr) - .object(const $Activity$Type()); + Activity? getParent() { + return _getParent(reference.pointer, _id_getParent as jni$_.JMethodIDPtr) + .object(const $Activity$NullableType()); } static final _id_getWindowManager = _class.instanceMethodId( @@ -16011,24 +17091,24 @@ class Activity extends _$jni.JObject { r'()Landroid/view/WindowManager;', ); - static final _getWindowManager = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getWindowManager = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.view.WindowManager getWindowManager()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getWindowManager() { + jni$_.JObject? getWindowManager() { return _getWindowManager( - reference.pointer, _id_getWindowManager as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getWindowManager as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getWindow = _class.instanceMethodId( @@ -16036,23 +17116,23 @@ class Activity extends _$jni.JObject { r'()Landroid/view/Window;', ); - static final _getWindow = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getWindow = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.view.Window getWindow()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getWindow() { - return _getWindow(reference.pointer, _id_getWindow as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + jni$_.JObject? getWindow() { + return _getWindow(reference.pointer, _id_getWindow as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getLoaderManager = _class.instanceMethodId( @@ -16060,24 +17140,24 @@ class Activity extends _$jni.JObject { r'()Landroid/app/LoaderManager;', ); - static final _getLoaderManager = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getLoaderManager = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.app.LoaderManager getLoaderManager()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getLoaderManager() { + jni$_.JObject? getLoaderManager() { return _getLoaderManager( - reference.pointer, _id_getLoaderManager as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getLoaderManager as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getCurrentFocus = _class.instanceMethodId( @@ -16085,24 +17165,24 @@ class Activity extends _$jni.JObject { r'()Landroid/view/View;', ); - static final _getCurrentFocus = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getCurrentFocus = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.view.View getCurrentFocus()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getCurrentFocus() { + jni$_.JObject? getCurrentFocus() { return _getCurrentFocus( - reference.pointer, _id_getCurrentFocus as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getCurrentFocus as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_registerActivityLifecycleCallbacks = _class.instanceMethodId( @@ -16111,25 +17191,27 @@ class Activity extends _$jni.JObject { ); static final _registerActivityLifecycleCallbacks = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void registerActivityLifecycleCallbacks(android.app.Application$ActivityLifecycleCallbacks activityLifecycleCallbacks)` void registerActivityLifecycleCallbacks( - _$jni.JObject activityLifecycleCallbacks, + jni$_.JObject? activityLifecycleCallbacks, ) { + final _$activityLifecycleCallbacks = + activityLifecycleCallbacks?.reference ?? jni$_.jNullReference; _registerActivityLifecycleCallbacks( reference.pointer, - _id_registerActivityLifecycleCallbacks as _$jni.JMethodIDPtr, - activityLifecycleCallbacks.reference.pointer) + _id_registerActivityLifecycleCallbacks as jni$_.JMethodIDPtr, + _$activityLifecycleCallbacks.pointer) .check(); } @@ -16140,25 +17222,27 @@ class Activity extends _$jni.JObject { ); static final _unregisterActivityLifecycleCallbacks = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void unregisterActivityLifecycleCallbacks(android.app.Application$ActivityLifecycleCallbacks activityLifecycleCallbacks)` void unregisterActivityLifecycleCallbacks( - _$jni.JObject activityLifecycleCallbacks, + jni$_.JObject? activityLifecycleCallbacks, ) { + final _$activityLifecycleCallbacks = + activityLifecycleCallbacks?.reference ?? jni$_.jNullReference; _unregisterActivityLifecycleCallbacks( reference.pointer, - _id_unregisterActivityLifecycleCallbacks as _$jni.JMethodIDPtr, - activityLifecycleCallbacks.reference.pointer) + _id_unregisterActivityLifecycleCallbacks as jni$_.JMethodIDPtr, + _$activityLifecycleCallbacks.pointer) .check(); } @@ -16168,25 +17252,27 @@ class Activity extends _$jni.JObject { ); static final _registerComponentCallbacks = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void registerComponentCallbacks(android.content.ComponentCallbacks componentCallbacks)` void registerComponentCallbacks( - _$jni.JObject componentCallbacks, + jni$_.JObject? componentCallbacks, ) { + final _$componentCallbacks = + componentCallbacks?.reference ?? jni$_.jNullReference; _registerComponentCallbacks( reference.pointer, - _id_registerComponentCallbacks as _$jni.JMethodIDPtr, - componentCallbacks.reference.pointer) + _id_registerComponentCallbacks as jni$_.JMethodIDPtr, + _$componentCallbacks.pointer) .check(); } @@ -16196,25 +17282,27 @@ class Activity extends _$jni.JObject { ); static final _unregisterComponentCallbacks = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void unregisterComponentCallbacks(android.content.ComponentCallbacks componentCallbacks)` void unregisterComponentCallbacks( - _$jni.JObject componentCallbacks, + jni$_.JObject? componentCallbacks, ) { + final _$componentCallbacks = + componentCallbacks?.reference ?? jni$_.jNullReference; _unregisterComponentCallbacks( reference.pointer, - _id_unregisterComponentCallbacks as _$jni.JMethodIDPtr, - componentCallbacks.reference.pointer) + _id_unregisterComponentCallbacks as jni$_.JMethodIDPtr, + _$componentCallbacks.pointer) .check(); } @@ -16223,24 +17311,24 @@ class Activity extends _$jni.JObject { r'()Landroid/window/SplashScreen;', ); - static final _getSplashScreen = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getSplashScreen = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final android.window.SplashScreen getSplashScreen()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getSplashScreen() { + jni$_.JObject? getSplashScreen() { return _getSplashScreen( - reference.pointer, _id_getSplashScreen as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getSplashScreen as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_onCreate = _class.instanceMethodId( @@ -16248,30 +17336,33 @@ class Activity extends _$jni.JObject { r'(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V', ); - static final _onCreate = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _onCreate = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void onCreate(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle)` void onCreate( - _$jni.JObject bundle, - _$jni.JObject persistableBundle, - ) { - _onCreate(reference.pointer, _id_onCreate as _$jni.JMethodIDPtr, - bundle.reference.pointer, persistableBundle.reference.pointer) + jni$_.JObject? bundle, + jni$_.JObject? persistableBundle, + ) { + final _$bundle = bundle?.reference ?? jni$_.jNullReference; + final _$persistableBundle = + persistableBundle?.reference ?? jni$_.jNullReference; + _onCreate(reference.pointer, _id_onCreate as jni$_.JMethodIDPtr, + _$bundle.pointer, _$persistableBundle.pointer) .check(); } @@ -16280,33 +17371,36 @@ class Activity extends _$jni.JObject { r'(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V', ); - static final _onRestoreInstanceState = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _onRestoreInstanceState = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void onRestoreInstanceState(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle)` void onRestoreInstanceState( - _$jni.JObject bundle, - _$jni.JObject persistableBundle, + jni$_.JObject? bundle, + jni$_.JObject? persistableBundle, ) { + final _$bundle = bundle?.reference ?? jni$_.jNullReference; + final _$persistableBundle = + persistableBundle?.reference ?? jni$_.jNullReference; _onRestoreInstanceState( reference.pointer, - _id_onRestoreInstanceState as _$jni.JMethodIDPtr, - bundle.reference.pointer, - persistableBundle.reference.pointer) + _id_onRestoreInstanceState as jni$_.JMethodIDPtr, + _$bundle.pointer, + _$persistableBundle.pointer) .check(); } @@ -16315,30 +17409,33 @@ class Activity extends _$jni.JObject { r'(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V', ); - static final _onPostCreate = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _onPostCreate = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void onPostCreate(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle)` void onPostCreate( - _$jni.JObject bundle, - _$jni.JObject persistableBundle, - ) { - _onPostCreate(reference.pointer, _id_onPostCreate as _$jni.JMethodIDPtr, - bundle.reference.pointer, persistableBundle.reference.pointer) + jni$_.JObject? bundle, + jni$_.JObject? persistableBundle, + ) { + final _$bundle = bundle?.reference ?? jni$_.jNullReference; + final _$persistableBundle = + persistableBundle?.reference ?? jni$_.jNullReference; + _onPostCreate(reference.pointer, _id_onPostCreate as jni$_.JMethodIDPtr, + _$bundle.pointer, _$persistableBundle.pointer) .check(); } @@ -16347,22 +17444,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _onStateNotSaved = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _onStateNotSaved = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void onStateNotSaved()` void onStateNotSaved() { _onStateNotSaved( - reference.pointer, _id_onStateNotSaved as _$jni.JMethodIDPtr) + reference.pointer, _id_onStateNotSaved as jni$_.JMethodIDPtr) .check(); } @@ -16372,21 +17469,21 @@ class Activity extends _$jni.JObject { ); static final _onTopResumedActivityChanged = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int32,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void onTopResumedActivityChanged(boolean z)` void onTopResumedActivityChanged( bool z, ) { _onTopResumedActivityChanged(reference.pointer, - _id_onTopResumedActivityChanged as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_onTopResumedActivityChanged as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -16395,22 +17492,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _isVoiceInteraction = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isVoiceInteraction = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isVoiceInteraction()` bool isVoiceInteraction() { return _isVoiceInteraction( - reference.pointer, _id_isVoiceInteraction as _$jni.JMethodIDPtr) + reference.pointer, _id_isVoiceInteraction as jni$_.JMethodIDPtr) .boolean; } @@ -16419,22 +17516,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _isVoiceInteractionRoot = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isVoiceInteractionRoot = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isVoiceInteractionRoot()` bool isVoiceInteractionRoot() { return _isVoiceInteractionRoot( - reference.pointer, _id_isVoiceInteractionRoot as _$jni.JMethodIDPtr) + reference.pointer, _id_isVoiceInteractionRoot as jni$_.JMethodIDPtr) .boolean; } @@ -16443,24 +17540,24 @@ class Activity extends _$jni.JObject { r'()Landroid/app/VoiceInteractor;', ); - static final _getVoiceInteractor = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getVoiceInteractor = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.app.VoiceInteractor getVoiceInteractor()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getVoiceInteractor() { + jni$_.JObject? getVoiceInteractor() { return _getVoiceInteractor( - reference.pointer, _id_getVoiceInteractor as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getVoiceInteractor as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_isLocalVoiceInteractionSupported = _class.instanceMethodId( @@ -16469,22 +17566,22 @@ class Activity extends _$jni.JObject { ); static final _isLocalVoiceInteractionSupported = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isLocalVoiceInteractionSupported()` bool isLocalVoiceInteractionSupported() { return _isLocalVoiceInteractionSupported(reference.pointer, - _id_isLocalVoiceInteractionSupported as _$jni.JMethodIDPtr) + _id_isLocalVoiceInteractionSupported as jni$_.JMethodIDPtr) .boolean; } @@ -16494,25 +17591,26 @@ class Activity extends _$jni.JObject { ); static final _startLocalVoiceInteraction = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void startLocalVoiceInteraction(android.os.Bundle bundle)` void startLocalVoiceInteraction( - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startLocalVoiceInteraction( reference.pointer, - _id_startLocalVoiceInteraction as _$jni.JMethodIDPtr, - bundle.reference.pointer) + _id_startLocalVoiceInteraction as jni$_.JMethodIDPtr, + _$bundle.pointer) .check(); } @@ -16522,22 +17620,22 @@ class Activity extends _$jni.JObject { ); static final _onLocalVoiceInteractionStarted = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void onLocalVoiceInteractionStarted()` void onLocalVoiceInteractionStarted() { _onLocalVoiceInteractionStarted(reference.pointer, - _id_onLocalVoiceInteractionStarted as _$jni.JMethodIDPtr) + _id_onLocalVoiceInteractionStarted as jni$_.JMethodIDPtr) .check(); } @@ -16547,22 +17645,22 @@ class Activity extends _$jni.JObject { ); static final _onLocalVoiceInteractionStopped = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void onLocalVoiceInteractionStopped()` void onLocalVoiceInteractionStopped() { _onLocalVoiceInteractionStopped(reference.pointer, - _id_onLocalVoiceInteractionStopped as _$jni.JMethodIDPtr) + _id_onLocalVoiceInteractionStopped as jni$_.JMethodIDPtr) .check(); } @@ -16571,22 +17669,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _stopLocalVoiceInteraction = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _stopLocalVoiceInteraction = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void stopLocalVoiceInteraction()` void stopLocalVoiceInteraction() { _stopLocalVoiceInteraction(reference.pointer, - _id_stopLocalVoiceInteraction as _$jni.JMethodIDPtr) + _id_stopLocalVoiceInteraction as jni$_.JMethodIDPtr) .check(); } @@ -16595,33 +17693,36 @@ class Activity extends _$jni.JObject { r'(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V', ); - static final _onSaveInstanceState = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _onSaveInstanceState = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void onSaveInstanceState(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle)` void onSaveInstanceState( - _$jni.JObject bundle, - _$jni.JObject persistableBundle, + jni$_.JObject? bundle, + jni$_.JObject? persistableBundle, ) { + final _$bundle = bundle?.reference ?? jni$_.jNullReference; + final _$persistableBundle = + persistableBundle?.reference ?? jni$_.jNullReference; _onSaveInstanceState( reference.pointer, - _id_onSaveInstanceState as _$jni.JMethodIDPtr, - bundle.reference.pointer, - persistableBundle.reference.pointer) + _id_onSaveInstanceState as jni$_.JMethodIDPtr, + _$bundle.pointer, + _$persistableBundle.pointer) .check(); } @@ -16630,33 +17731,35 @@ class Activity extends _$jni.JObject { r'(Landroid/graphics/Bitmap;Landroid/graphics/Canvas;)Z', ); - static final _onCreateThumbnail = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _onCreateThumbnail = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public boolean onCreateThumbnail(android.graphics.Bitmap bitmap, android.graphics.Canvas canvas)` bool onCreateThumbnail( - _$jni.JObject bitmap, - _$jni.JObject canvas, + jni$_.JObject? bitmap, + jni$_.JObject? canvas, ) { + final _$bitmap = bitmap?.reference ?? jni$_.jNullReference; + final _$canvas = canvas?.reference ?? jni$_.jNullReference; return _onCreateThumbnail( reference.pointer, - _id_onCreateThumbnail as _$jni.JMethodIDPtr, - bitmap.reference.pointer, - canvas.reference.pointer) + _id_onCreateThumbnail as jni$_.JMethodIDPtr, + _$bitmap.pointer, + _$canvas.pointer) .boolean; } @@ -16665,24 +17768,24 @@ class Activity extends _$jni.JObject { r'()Ljava/lang/CharSequence;', ); - static final _onCreateDescription = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _onCreateDescription = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.CharSequence onCreateDescription()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject onCreateDescription() { + jni$_.JObject? onCreateDescription() { return _onCreateDescription( - reference.pointer, _id_onCreateDescription as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_onCreateDescription as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_onProvideAssistData = _class.instanceMethodId( @@ -16690,25 +17793,24 @@ class Activity extends _$jni.JObject { r'(Landroid/os/Bundle;)V', ); - static final _onProvideAssistData = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onProvideAssistData = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void onProvideAssistData(android.os.Bundle bundle)` void onProvideAssistData( - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { - _onProvideAssistData( - reference.pointer, - _id_onProvideAssistData as _$jni.JMethodIDPtr, - bundle.reference.pointer) + final _$bundle = bundle?.reference ?? jni$_.jNullReference; + _onProvideAssistData(reference.pointer, + _id_onProvideAssistData as jni$_.JMethodIDPtr, _$bundle.pointer) .check(); } @@ -16717,25 +17819,26 @@ class Activity extends _$jni.JObject { r'(Landroid/app/assist/AssistContent;)V', ); - static final _onProvideAssistContent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onProvideAssistContent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void onProvideAssistContent(android.app.assist.AssistContent assistContent)` void onProvideAssistContent( - _$jni.JObject assistContent, + jni$_.JObject? assistContent, ) { + final _$assistContent = assistContent?.reference ?? jni$_.jNullReference; _onProvideAssistContent( reference.pointer, - _id_onProvideAssistContent as _$jni.JMethodIDPtr, - assistContent.reference.pointer) + _id_onProvideAssistContent as jni$_.JMethodIDPtr, + _$assistContent.pointer) .check(); } @@ -16744,33 +17847,36 @@ class Activity extends _$jni.JObject { r'(Landroid/os/CancellationSignal;Ljava/util/function/Consumer;)V', ); - static final _onGetDirectActions = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _onGetDirectActions = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void onGetDirectActions(android.os.CancellationSignal cancellationSignal, java.util.function.Consumer consumer)` void onGetDirectActions( - _$jni.JObject cancellationSignal, - _$jni.JObject consumer, + jni$_.JObject? cancellationSignal, + jni$_.JObject? consumer, ) { + final _$cancellationSignal = + cancellationSignal?.reference ?? jni$_.jNullReference; + final _$consumer = consumer?.reference ?? jni$_.jNullReference; _onGetDirectActions( reference.pointer, - _id_onGetDirectActions as _$jni.JMethodIDPtr, - cancellationSignal.reference.pointer, - consumer.reference.pointer) + _id_onGetDirectActions as jni$_.JMethodIDPtr, + _$cancellationSignal.pointer, + _$consumer.pointer) .check(); } @@ -16779,41 +17885,46 @@ class Activity extends _$jni.JObject { r'(Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;Ljava/util/function/Consumer;)V', ); - static final _onPerformDirectAction = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _onPerformDirectAction = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void onPerformDirectAction(java.lang.String string, android.os.Bundle bundle, android.os.CancellationSignal cancellationSignal, java.util.function.Consumer consumer)` void onPerformDirectAction( - _$jni.JString string, - _$jni.JObject bundle, - _$jni.JObject cancellationSignal, - _$jni.JObject consumer, - ) { + jni$_.JString? string, + jni$_.JObject? bundle, + jni$_.JObject? cancellationSignal, + jni$_.JObject? consumer, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; + final _$cancellationSignal = + cancellationSignal?.reference ?? jni$_.jNullReference; + final _$consumer = consumer?.reference ?? jni$_.jNullReference; _onPerformDirectAction( reference.pointer, - _id_onPerformDirectAction as _$jni.JMethodIDPtr, - string.reference.pointer, - bundle.reference.pointer, - cancellationSignal.reference.pointer, - consumer.reference.pointer) + _id_onPerformDirectAction as jni$_.JMethodIDPtr, + _$string.pointer, + _$bundle.pointer, + _$cancellationSignal.pointer, + _$consumer.pointer) .check(); } @@ -16823,22 +17934,22 @@ class Activity extends _$jni.JObject { ); static final _requestShowKeyboardShortcuts = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final void requestShowKeyboardShortcuts()` void requestShowKeyboardShortcuts() { _requestShowKeyboardShortcuts(reference.pointer, - _id_requestShowKeyboardShortcuts as _$jni.JMethodIDPtr) + _id_requestShowKeyboardShortcuts as jni$_.JMethodIDPtr) .check(); } @@ -16848,22 +17959,22 @@ class Activity extends _$jni.JObject { ); static final _dismissKeyboardShortcutsHelper = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final void dismissKeyboardShortcutsHelper()` void dismissKeyboardShortcutsHelper() { _dismissKeyboardShortcutsHelper(reference.pointer, - _id_dismissKeyboardShortcutsHelper as _$jni.JMethodIDPtr) + _id_dismissKeyboardShortcutsHelper as jni$_.JMethodIDPtr) .check(); } @@ -16873,36 +17984,38 @@ class Activity extends _$jni.JObject { ); static final _onProvideKeyboardShortcuts = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int)>(); /// from: `public void onProvideKeyboardShortcuts(java.util.List list, android.view.Menu menu, int i)` void onProvideKeyboardShortcuts( - _$jni.JList<_$jni.JObject> list, - _$jni.JObject menu, + jni$_.JList? list, + jni$_.JObject? menu, int i, ) { + final _$list = list?.reference ?? jni$_.jNullReference; + final _$menu = menu?.reference ?? jni$_.jNullReference; _onProvideKeyboardShortcuts( reference.pointer, - _id_onProvideKeyboardShortcuts as _$jni.JMethodIDPtr, - list.reference.pointer, - menu.reference.pointer, + _id_onProvideKeyboardShortcuts as jni$_.JMethodIDPtr, + _$list.pointer, + _$menu.pointer, i) .check(); } @@ -16912,23 +18025,24 @@ class Activity extends _$jni.JObject { r'(Landroid/os/Bundle;)Z', ); - static final _showAssist = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _showAssist = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean showAssist(android.os.Bundle bundle)` bool showAssist( - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { - return _showAssist(reference.pointer, _id_showAssist as _$jni.JMethodIDPtr, - bundle.reference.pointer) + final _$bundle = bundle?.reference ?? jni$_.jNullReference; + return _showAssist(reference.pointer, _id_showAssist as jni$_.JMethodIDPtr, + _$bundle.pointer) .boolean; } @@ -16937,22 +18051,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _reportFullyDrawn = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _reportFullyDrawn = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void reportFullyDrawn()` void reportFullyDrawn() { _reportFullyDrawn( - reference.pointer, _id_reportFullyDrawn as _$jni.JMethodIDPtr) + reference.pointer, _id_reportFullyDrawn as jni$_.JMethodIDPtr) .check(); } @@ -16961,28 +18075,29 @@ class Activity extends _$jni.JObject { r'(ZLandroid/content/res/Configuration;)V', ); - static final _onMultiWindowModeChanged = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _onMultiWindowModeChanged = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public void onMultiWindowModeChanged(boolean z, android.content.res.Configuration configuration)` void onMultiWindowModeChanged( bool z, - _$jni.JObject configuration, + jni$_.JObject? configuration, ) { + final _$configuration = configuration?.reference ?? jni$_.jNullReference; _onMultiWindowModeChanged( reference.pointer, - _id_onMultiWindowModeChanged as _$jni.JMethodIDPtr, + _id_onMultiWindowModeChanged as jni$_.JMethodIDPtr, z ? 1 : 0, - configuration.reference.pointer) + _$configuration.pointer) .check(); } @@ -16992,21 +18107,21 @@ class Activity extends _$jni.JObject { ); static final _onMultiWindowModeChanged$1 = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int32,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void onMultiWindowModeChanged(boolean z)` void onMultiWindowModeChanged$1( bool z, ) { _onMultiWindowModeChanged$1(reference.pointer, - _id_onMultiWindowModeChanged$1 as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_onMultiWindowModeChanged$1 as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -17015,22 +18130,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _isInMultiWindowMode = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isInMultiWindowMode = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isInMultiWindowMode()` bool isInMultiWindowMode() { return _isInMultiWindowMode( - reference.pointer, _id_isInMultiWindowMode as _$jni.JMethodIDPtr) + reference.pointer, _id_isInMultiWindowMode as jni$_.JMethodIDPtr) .boolean; } @@ -17040,28 +18155,29 @@ class Activity extends _$jni.JObject { ); static final _onPictureInPictureModeChanged = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< - (_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public void onPictureInPictureModeChanged(boolean z, android.content.res.Configuration configuration)` void onPictureInPictureModeChanged( bool z, - _$jni.JObject configuration, + jni$_.JObject? configuration, ) { + final _$configuration = configuration?.reference ?? jni$_.jNullReference; _onPictureInPictureModeChanged( reference.pointer, - _id_onPictureInPictureModeChanged as _$jni.JMethodIDPtr, + _id_onPictureInPictureModeChanged as jni$_.JMethodIDPtr, z ? 1 : 0, - configuration.reference.pointer) + _$configuration.pointer) .check(); } @@ -17071,25 +18187,27 @@ class Activity extends _$jni.JObject { ); static final _onPictureInPictureUiStateChanged = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void onPictureInPictureUiStateChanged(android.app.PictureInPictureUiState pictureInPictureUiState)` void onPictureInPictureUiStateChanged( - _$jni.JObject pictureInPictureUiState, + jni$_.JObject? pictureInPictureUiState, ) { + final _$pictureInPictureUiState = + pictureInPictureUiState?.reference ?? jni$_.jNullReference; _onPictureInPictureUiStateChanged( reference.pointer, - _id_onPictureInPictureUiStateChanged as _$jni.JMethodIDPtr, - pictureInPictureUiState.reference.pointer) + _id_onPictureInPictureUiStateChanged as jni$_.JMethodIDPtr, + _$pictureInPictureUiState.pointer) .check(); } @@ -17099,14 +18217,14 @@ class Activity extends _$jni.JObject { ); static final _onPictureInPictureModeChanged$1 = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int32,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void onPictureInPictureModeChanged(boolean z)` void onPictureInPictureModeChanged$1( @@ -17114,7 +18232,7 @@ class Activity extends _$jni.JObject { ) { _onPictureInPictureModeChanged$1( reference.pointer, - _id_onPictureInPictureModeChanged$1 as _$jni.JMethodIDPtr, + _id_onPictureInPictureModeChanged$1 as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -17124,22 +18242,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _isInPictureInPictureMode = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isInPictureInPictureMode = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isInPictureInPictureMode()` bool isInPictureInPictureMode() { return _isInPictureInPictureMode(reference.pointer, - _id_isInPictureInPictureMode as _$jni.JMethodIDPtr) + _id_isInPictureInPictureMode as jni$_.JMethodIDPtr) .boolean; } @@ -17148,22 +18266,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _enterPictureInPictureMode = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _enterPictureInPictureMode = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void enterPictureInPictureMode()` void enterPictureInPictureMode() { _enterPictureInPictureMode(reference.pointer, - _id_enterPictureInPictureMode as _$jni.JMethodIDPtr) + _id_enterPictureInPictureMode as jni$_.JMethodIDPtr) .check(); } @@ -17173,25 +18291,27 @@ class Activity extends _$jni.JObject { ); static final _enterPictureInPictureMode$1 = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean enterPictureInPictureMode(android.app.PictureInPictureParams pictureInPictureParams)` bool enterPictureInPictureMode$1( - _$jni.JObject pictureInPictureParams, + jni$_.JObject? pictureInPictureParams, ) { + final _$pictureInPictureParams = + pictureInPictureParams?.reference ?? jni$_.jNullReference; return _enterPictureInPictureMode$1( reference.pointer, - _id_enterPictureInPictureMode$1 as _$jni.JMethodIDPtr, - pictureInPictureParams.reference.pointer) + _id_enterPictureInPictureMode$1 as jni$_.JMethodIDPtr, + _$pictureInPictureParams.pointer) .boolean; } @@ -17200,25 +18320,27 @@ class Activity extends _$jni.JObject { r'(Landroid/app/PictureInPictureParams;)V', ); - static final _setPictureInPictureParams = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setPictureInPictureParams = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void setPictureInPictureParams(android.app.PictureInPictureParams pictureInPictureParams)` void setPictureInPictureParams( - _$jni.JObject pictureInPictureParams, + jni$_.JObject? pictureInPictureParams, ) { + final _$pictureInPictureParams = + pictureInPictureParams?.reference ?? jni$_.jNullReference; _setPictureInPictureParams( reference.pointer, - _id_setPictureInPictureParams as _$jni.JMethodIDPtr, - pictureInPictureParams.reference.pointer) + _id_setPictureInPictureParams as jni$_.JMethodIDPtr, + _$pictureInPictureParams.pointer) .check(); } @@ -17228,22 +18350,22 @@ class Activity extends _$jni.JObject { ); static final _getMaxNumPictureInPictureActions = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int getMaxNumPictureInPictureActions()` int getMaxNumPictureInPictureActions() { return _getMaxNumPictureInPictureActions(reference.pointer, - _id_getMaxNumPictureInPictureActions as _$jni.JMethodIDPtr) + _id_getMaxNumPictureInPictureActions as jni$_.JMethodIDPtr) .integer; } @@ -17253,22 +18375,22 @@ class Activity extends _$jni.JObject { ); static final _onPictureInPictureRequested = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean onPictureInPictureRequested()` bool onPictureInPictureRequested() { return _onPictureInPictureRequested(reference.pointer, - _id_onPictureInPictureRequested as _$jni.JMethodIDPtr) + _id_onPictureInPictureRequested as jni$_.JMethodIDPtr) .boolean; } @@ -17277,22 +18399,22 @@ class Activity extends _$jni.JObject { r'(Z)V', ); - static final _setShouldDockBigOverlays = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setShouldDockBigOverlays = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void setShouldDockBigOverlays(boolean z)` void setShouldDockBigOverlays( bool z, ) { _setShouldDockBigOverlays(reference.pointer, - _id_setShouldDockBigOverlays as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_setShouldDockBigOverlays as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -17301,22 +18423,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _shouldDockBigOverlays = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _shouldDockBigOverlays = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean shouldDockBigOverlays()` bool shouldDockBigOverlays() { return _shouldDockBigOverlays( - reference.pointer, _id_shouldDockBigOverlays as _$jni.JMethodIDPtr) + reference.pointer, _id_shouldDockBigOverlays as jni$_.JMethodIDPtr) .boolean; } @@ -17325,25 +18447,26 @@ class Activity extends _$jni.JObject { r'(Landroid/content/res/Configuration;)V', ); - static final _onConfigurationChanged = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onConfigurationChanged = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void onConfigurationChanged(android.content.res.Configuration configuration)` void onConfigurationChanged( - _$jni.JObject configuration, + jni$_.JObject? configuration, ) { + final _$configuration = configuration?.reference ?? jni$_.jNullReference; _onConfigurationChanged( reference.pointer, - _id_onConfigurationChanged as _$jni.JMethodIDPtr, - configuration.reference.pointer) + _id_onConfigurationChanged as jni$_.JMethodIDPtr, + _$configuration.pointer) .check(); } @@ -17352,22 +18475,22 @@ class Activity extends _$jni.JObject { r'()I', ); - static final _getChangingConfigurations = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getChangingConfigurations = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int getChangingConfigurations()` int getChangingConfigurations() { return _getChangingConfigurations(reference.pointer, - _id_getChangingConfigurations as _$jni.JMethodIDPtr) + _id_getChangingConfigurations as jni$_.JMethodIDPtr) .integer; } @@ -17377,24 +18500,24 @@ class Activity extends _$jni.JObject { ); static final _getLastNonConfigurationInstance = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.Object getLastNonConfigurationInstance()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getLastNonConfigurationInstance() { + jni$_.JObject? getLastNonConfigurationInstance() { return _getLastNonConfigurationInstance(reference.pointer, - _id_getLastNonConfigurationInstance as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + _id_getLastNonConfigurationInstance as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_onRetainNonConfigurationInstance = _class.instanceMethodId( @@ -17403,24 +18526,24 @@ class Activity extends _$jni.JObject { ); static final _onRetainNonConfigurationInstance = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.Object onRetainNonConfigurationInstance()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject onRetainNonConfigurationInstance() { + jni$_.JObject? onRetainNonConfigurationInstance() { return _onRetainNonConfigurationInstance(reference.pointer, - _id_onRetainNonConfigurationInstance as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + _id_onRetainNonConfigurationInstance as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_onLowMemory = _class.instanceMethodId( @@ -17428,21 +18551,21 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _onLowMemory = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _onLowMemory = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void onLowMemory()` void onLowMemory() { - _onLowMemory(reference.pointer, _id_onLowMemory as _$jni.JMethodIDPtr) + _onLowMemory(reference.pointer, _id_onLowMemory as jni$_.JMethodIDPtr) .check(); } @@ -17451,21 +18574,21 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _onTrimMemory = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _onTrimMemory = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void onTrimMemory(int i)` void onTrimMemory( int i, ) { - _onTrimMemory(reference.pointer, _id_onTrimMemory as _$jni.JMethodIDPtr, i) + _onTrimMemory(reference.pointer, _id_onTrimMemory as jni$_.JMethodIDPtr, i) .check(); } @@ -17474,24 +18597,24 @@ class Activity extends _$jni.JObject { r'()Landroid/app/FragmentManager;', ); - static final _getFragmentManager = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getFragmentManager = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.app.FragmentManager getFragmentManager()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getFragmentManager() { + jni$_.JObject? getFragmentManager() { return _getFragmentManager( - reference.pointer, _id_getFragmentManager as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getFragmentManager as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_onAttachFragment = _class.instanceMethodId( @@ -17499,25 +18622,24 @@ class Activity extends _$jni.JObject { r'(Landroid/app/Fragment;)V', ); - static final _onAttachFragment = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onAttachFragment = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void onAttachFragment(android.app.Fragment fragment)` void onAttachFragment( - _$jni.JObject fragment, + jni$_.JObject? fragment, ) { - _onAttachFragment( - reference.pointer, - _id_onAttachFragment as _$jni.JMethodIDPtr, - fragment.reference.pointer) + final _$fragment = fragment?.reference ?? jni$_.jNullReference; + _onAttachFragment(reference.pointer, + _id_onAttachFragment as jni$_.JMethodIDPtr, _$fragment.pointer) .check(); } @@ -17526,47 +18648,52 @@ class Activity extends _$jni.JObject { r'(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;', ); - static final _managedQuery = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _managedQuery = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public final android.database.Cursor managedQuery(android.net.Uri uri, java.lang.String[] strings, java.lang.String string, java.lang.String[] strings1, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject managedQuery( - _$jni.JObject uri, - _$jni.JArray<_$jni.JString> strings, - _$jni.JString string, - _$jni.JArray<_$jni.JString> strings1, - _$jni.JString string1, - ) { + jni$_.JObject? managedQuery( + jni$_.JObject? uri, + jni$_.JArray? strings, + jni$_.JString? string, + jni$_.JArray? strings1, + jni$_.JString? string1, + ) { + final _$uri = uri?.reference ?? jni$_.jNullReference; + final _$strings = strings?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$strings1 = strings1?.reference ?? jni$_.jNullReference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; return _managedQuery( reference.pointer, - _id_managedQuery as _$jni.JMethodIDPtr, - uri.reference.pointer, - strings.reference.pointer, - string.reference.pointer, - strings1.reference.pointer, - string1.reference.pointer) - .object(const _$jni.JObjectType()); + _id_managedQuery as jni$_.JMethodIDPtr, + _$uri.pointer, + _$strings.pointer, + _$string.pointer, + _$strings1.pointer, + _$string1.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_startManagingCursor = _class.instanceMethodId( @@ -17574,25 +18701,24 @@ class Activity extends _$jni.JObject { r'(Landroid/database/Cursor;)V', ); - static final _startManagingCursor = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _startManagingCursor = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void startManagingCursor(android.database.Cursor cursor)` void startManagingCursor( - _$jni.JObject cursor, + jni$_.JObject? cursor, ) { - _startManagingCursor( - reference.pointer, - _id_startManagingCursor as _$jni.JMethodIDPtr, - cursor.reference.pointer) + final _$cursor = cursor?.reference ?? jni$_.jNullReference; + _startManagingCursor(reference.pointer, + _id_startManagingCursor as jni$_.JMethodIDPtr, _$cursor.pointer) .check(); } @@ -17601,25 +18727,24 @@ class Activity extends _$jni.JObject { r'(Landroid/database/Cursor;)V', ); - static final _stopManagingCursor = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _stopManagingCursor = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void stopManagingCursor(android.database.Cursor cursor)` void stopManagingCursor( - _$jni.JObject cursor, + jni$_.JObject? cursor, ) { - _stopManagingCursor( - reference.pointer, - _id_stopManagingCursor as _$jni.JMethodIDPtr, - cursor.reference.pointer) + final _$cursor = cursor?.reference ?? jni$_.jNullReference; + _stopManagingCursor(reference.pointer, + _id_stopManagingCursor as jni$_.JMethodIDPtr, _$cursor.pointer) .check(); } @@ -17628,25 +18753,25 @@ class Activity extends _$jni.JObject { r'(I)Landroid/view/View;', ); - static final _findViewById = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') + static final _findViewById = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public T findViewById(int i)` /// The returned object must be released after use, by calling the [release] method. - $T findViewById<$T extends _$jni.JObject>( + $T? findViewById<$T extends jni$_.JObject?>( int i, { - required _$jni.JObjType<$T> T, + required jni$_.JObjType<$T> T, }) { return _findViewById( - reference.pointer, _id_findViewById as _$jni.JMethodIDPtr, i) - .object(T); + reference.pointer, _id_findViewById as jni$_.JMethodIDPtr, i) + .object<$T?>(T.nullableType); } static final _id_requireViewById = _class.instanceMethodId( @@ -17654,25 +18779,25 @@ class Activity extends _$jni.JObject { r'(I)Landroid/view/View;', ); - static final _requireViewById = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') + static final _requireViewById = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final T requireViewById(int i)` /// The returned object must be released after use, by calling the [release] method. - $T requireViewById<$T extends _$jni.JObject>( + $T? requireViewById<$T extends jni$_.JObject?>( int i, { - required _$jni.JObjType<$T> T, + required jni$_.JObjType<$T> T, }) { return _requireViewById( - reference.pointer, _id_requireViewById as _$jni.JMethodIDPtr, i) - .object(T); + reference.pointer, _id_requireViewById as jni$_.JMethodIDPtr, i) + .object<$T?>(T.nullableType); } static final _id_getActionBar = _class.instanceMethodId( @@ -17680,24 +18805,24 @@ class Activity extends _$jni.JObject { r'()Landroid/app/ActionBar;', ); - static final _getActionBar = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getActionBar = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.app.ActionBar getActionBar()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getActionBar() { + jni$_.JObject? getActionBar() { return _getActionBar( - reference.pointer, _id_getActionBar as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getActionBar as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_setActionBar = _class.instanceMethodId( @@ -17705,23 +18830,24 @@ class Activity extends _$jni.JObject { r'(Landroid/widget/Toolbar;)V', ); - static final _setActionBar = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setActionBar = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void setActionBar(android.widget.Toolbar toolbar)` void setActionBar( - _$jni.JObject toolbar, + jni$_.JObject? toolbar, ) { - _setActionBar(reference.pointer, _id_setActionBar as _$jni.JMethodIDPtr, - toolbar.reference.pointer) + final _$toolbar = toolbar?.reference ?? jni$_.jNullReference; + _setActionBar(reference.pointer, _id_setActionBar as jni$_.JMethodIDPtr, + _$toolbar.pointer) .check(); } @@ -17730,22 +18856,22 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _setContentView = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setContentView = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void setContentView(int i)` void setContentView( int i, ) { _setContentView( - reference.pointer, _id_setContentView as _$jni.JMethodIDPtr, i) + reference.pointer, _id_setContentView as jni$_.JMethodIDPtr, i) .check(); } @@ -17754,23 +18880,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/View;)V', ); - static final _setContentView$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setContentView$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void setContentView(android.view.View view)` void setContentView$1( - _$jni.JObject view, + jni$_.JObject? view, ) { + final _$view = view?.reference ?? jni$_.jNullReference; _setContentView$1(reference.pointer, - _id_setContentView$1 as _$jni.JMethodIDPtr, view.reference.pointer) + _id_setContentView$1 as jni$_.JMethodIDPtr, _$view.pointer) .check(); } @@ -17779,33 +18906,35 @@ class Activity extends _$jni.JObject { r'(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V', ); - static final _setContentView$2 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _setContentView$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void setContentView(android.view.View view, android.view.ViewGroup$LayoutParams layoutParams)` void setContentView$2( - _$jni.JObject view, - _$jni.JObject layoutParams, + jni$_.JObject? view, + jni$_.JObject? layoutParams, ) { + final _$view = view?.reference ?? jni$_.jNullReference; + final _$layoutParams = layoutParams?.reference ?? jni$_.jNullReference; _setContentView$2( reference.pointer, - _id_setContentView$2 as _$jni.JMethodIDPtr, - view.reference.pointer, - layoutParams.reference.pointer) + _id_setContentView$2 as jni$_.JMethodIDPtr, + _$view.pointer, + _$layoutParams.pointer) .check(); } @@ -17814,30 +18943,32 @@ class Activity extends _$jni.JObject { r'(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V', ); - static final _addContentView = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _addContentView = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void addContentView(android.view.View view, android.view.ViewGroup$LayoutParams layoutParams)` void addContentView( - _$jni.JObject view, - _$jni.JObject layoutParams, + jni$_.JObject? view, + jni$_.JObject? layoutParams, ) { - _addContentView(reference.pointer, _id_addContentView as _$jni.JMethodIDPtr, - view.reference.pointer, layoutParams.reference.pointer) + final _$view = view?.reference ?? jni$_.jNullReference; + final _$layoutParams = layoutParams?.reference ?? jni$_.jNullReference; + _addContentView(reference.pointer, _id_addContentView as jni$_.JMethodIDPtr, + _$view.pointer, _$layoutParams.pointer) .check(); } @@ -17847,24 +18978,24 @@ class Activity extends _$jni.JObject { ); static final _getContentTransitionManager = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.transition.TransitionManager getContentTransitionManager()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getContentTransitionManager() { + jni$_.JObject? getContentTransitionManager() { return _getContentTransitionManager(reference.pointer, - _id_getContentTransitionManager as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + _id_getContentTransitionManager as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_setContentTransitionManager = _class.instanceMethodId( @@ -17873,25 +19004,27 @@ class Activity extends _$jni.JObject { ); static final _setContentTransitionManager = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void setContentTransitionManager(android.transition.TransitionManager transitionManager)` void setContentTransitionManager( - _$jni.JObject transitionManager, + jni$_.JObject? transitionManager, ) { + final _$transitionManager = + transitionManager?.reference ?? jni$_.jNullReference; _setContentTransitionManager( reference.pointer, - _id_setContentTransitionManager as _$jni.JMethodIDPtr, - transitionManager.reference.pointer) + _id_setContentTransitionManager as jni$_.JMethodIDPtr, + _$transitionManager.pointer) .check(); } @@ -17900,24 +19033,24 @@ class Activity extends _$jni.JObject { r'()Landroid/transition/Scene;', ); - static final _getContentScene = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getContentScene = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.transition.Scene getContentScene()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getContentScene() { + jni$_.JObject? getContentScene() { return _getContentScene( - reference.pointer, _id_getContentScene as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getContentScene as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_setFinishOnTouchOutside = _class.instanceMethodId( @@ -17925,22 +19058,22 @@ class Activity extends _$jni.JObject { r'(Z)V', ); - static final _setFinishOnTouchOutside = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setFinishOnTouchOutside = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void setFinishOnTouchOutside(boolean z)` void setFinishOnTouchOutside( bool z, ) { _setFinishOnTouchOutside(reference.pointer, - _id_setFinishOnTouchOutside as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_setFinishOnTouchOutside as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -17949,22 +19082,22 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _setDefaultKeyMode = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setDefaultKeyMode = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final void setDefaultKeyMode(int i)` void setDefaultKeyMode( int i, ) { _setDefaultKeyMode( - reference.pointer, _id_setDefaultKeyMode as _$jni.JMethodIDPtr, i) + reference.pointer, _id_setDefaultKeyMode as jni$_.JMethodIDPtr, i) .check(); } @@ -17973,25 +19106,26 @@ class Activity extends _$jni.JObject { r'(ILandroid/view/KeyEvent;)Z', ); - static final _onKeyDown = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _onKeyDown = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public boolean onKeyDown(int i, android.view.KeyEvent keyEvent)` bool onKeyDown( int i, - _$jni.JObject keyEvent, + jni$_.JObject? keyEvent, ) { - return _onKeyDown(reference.pointer, _id_onKeyDown as _$jni.JMethodIDPtr, i, - keyEvent.reference.pointer) + final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; + return _onKeyDown(reference.pointer, _id_onKeyDown as jni$_.JMethodIDPtr, i, + _$keyEvent.pointer) .boolean; } @@ -18000,28 +19134,26 @@ class Activity extends _$jni.JObject { r'(ILandroid/view/KeyEvent;)Z', ); - static final _onKeyLongPress = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _onKeyLongPress = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public boolean onKeyLongPress(int i, android.view.KeyEvent keyEvent)` bool onKeyLongPress( int i, - _$jni.JObject keyEvent, + jni$_.JObject? keyEvent, ) { - return _onKeyLongPress( - reference.pointer, - _id_onKeyLongPress as _$jni.JMethodIDPtr, - i, - keyEvent.reference.pointer) + final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; + return _onKeyLongPress(reference.pointer, + _id_onKeyLongPress as jni$_.JMethodIDPtr, i, _$keyEvent.pointer) .boolean; } @@ -18030,25 +19162,26 @@ class Activity extends _$jni.JObject { r'(ILandroid/view/KeyEvent;)Z', ); - static final _onKeyUp = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _onKeyUp = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public boolean onKeyUp(int i, android.view.KeyEvent keyEvent)` bool onKeyUp( int i, - _$jni.JObject keyEvent, + jni$_.JObject? keyEvent, ) { - return _onKeyUp(reference.pointer, _id_onKeyUp as _$jni.JMethodIDPtr, i, - keyEvent.reference.pointer) + final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; + return _onKeyUp(reference.pointer, _id_onKeyUp as jni$_.JMethodIDPtr, i, + _$keyEvent.pointer) .boolean; } @@ -18057,33 +19190,30 @@ class Activity extends _$jni.JObject { r'(IILandroid/view/KeyEvent;)Z', ); - static final _onKeyMultiple = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _onKeyMultiple = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Int32, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, int, jni$_.Pointer)>(); /// from: `public boolean onKeyMultiple(int i, int i1, android.view.KeyEvent keyEvent)` bool onKeyMultiple( int i, int i1, - _$jni.JObject keyEvent, + jni$_.JObject? keyEvent, ) { - return _onKeyMultiple( - reference.pointer, - _id_onKeyMultiple as _$jni.JMethodIDPtr, - i, - i1, - keyEvent.reference.pointer) + final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; + return _onKeyMultiple(reference.pointer, + _id_onKeyMultiple as jni$_.JMethodIDPtr, i, i1, _$keyEvent.pointer) .boolean; } @@ -18092,21 +19222,21 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _onBackPressed = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _onBackPressed = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void onBackPressed()` void onBackPressed() { - _onBackPressed(reference.pointer, _id_onBackPressed as _$jni.JMethodIDPtr) + _onBackPressed(reference.pointer, _id_onBackPressed as jni$_.JMethodIDPtr) .check(); } @@ -18115,28 +19245,26 @@ class Activity extends _$jni.JObject { r'(ILandroid/view/KeyEvent;)Z', ); - static final _onKeyShortcut = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _onKeyShortcut = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public boolean onKeyShortcut(int i, android.view.KeyEvent keyEvent)` bool onKeyShortcut( int i, - _$jni.JObject keyEvent, + jni$_.JObject? keyEvent, ) { - return _onKeyShortcut( - reference.pointer, - _id_onKeyShortcut as _$jni.JMethodIDPtr, - i, - keyEvent.reference.pointer) + final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; + return _onKeyShortcut(reference.pointer, + _id_onKeyShortcut as jni$_.JMethodIDPtr, i, _$keyEvent.pointer) .boolean; } @@ -18145,25 +19273,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/MotionEvent;)Z', ); - static final _onTouchEvent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onTouchEvent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean onTouchEvent(android.view.MotionEvent motionEvent)` bool onTouchEvent( - _$jni.JObject motionEvent, + jni$_.JObject? motionEvent, ) { - return _onTouchEvent( - reference.pointer, - _id_onTouchEvent as _$jni.JMethodIDPtr, - motionEvent.reference.pointer) + final _$motionEvent = motionEvent?.reference ?? jni$_.jNullReference; + return _onTouchEvent(reference.pointer, + _id_onTouchEvent as jni$_.JMethodIDPtr, _$motionEvent.pointer) .boolean; } @@ -18172,25 +19299,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/MotionEvent;)Z', ); - static final _onTrackballEvent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onTrackballEvent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean onTrackballEvent(android.view.MotionEvent motionEvent)` bool onTrackballEvent( - _$jni.JObject motionEvent, + jni$_.JObject? motionEvent, ) { - return _onTrackballEvent( - reference.pointer, - _id_onTrackballEvent as _$jni.JMethodIDPtr, - motionEvent.reference.pointer) + final _$motionEvent = motionEvent?.reference ?? jni$_.jNullReference; + return _onTrackballEvent(reference.pointer, + _id_onTrackballEvent as jni$_.JMethodIDPtr, _$motionEvent.pointer) .boolean; } @@ -18199,25 +19325,26 @@ class Activity extends _$jni.JObject { r'(Landroid/view/MotionEvent;)Z', ); - static final _onGenericMotionEvent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onGenericMotionEvent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean onGenericMotionEvent(android.view.MotionEvent motionEvent)` bool onGenericMotionEvent( - _$jni.JObject motionEvent, + jni$_.JObject? motionEvent, ) { + final _$motionEvent = motionEvent?.reference ?? jni$_.jNullReference; return _onGenericMotionEvent( reference.pointer, - _id_onGenericMotionEvent as _$jni.JMethodIDPtr, - motionEvent.reference.pointer) + _id_onGenericMotionEvent as jni$_.JMethodIDPtr, + _$motionEvent.pointer) .boolean; } @@ -18226,22 +19353,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _onUserInteraction = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _onUserInteraction = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void onUserInteraction()` void onUserInteraction() { _onUserInteraction( - reference.pointer, _id_onUserInteraction as _$jni.JMethodIDPtr) + reference.pointer, _id_onUserInteraction as jni$_.JMethodIDPtr) .check(); } @@ -18250,25 +19377,26 @@ class Activity extends _$jni.JObject { r'(Landroid/view/WindowManager$LayoutParams;)V', ); - static final _onWindowAttributesChanged = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onWindowAttributesChanged = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void onWindowAttributesChanged(android.view.WindowManager$LayoutParams layoutParams)` void onWindowAttributesChanged( - _$jni.JObject layoutParams, + jni$_.JObject? layoutParams, ) { + final _$layoutParams = layoutParams?.reference ?? jni$_.jNullReference; _onWindowAttributesChanged( reference.pointer, - _id_onWindowAttributesChanged as _$jni.JMethodIDPtr, - layoutParams.reference.pointer) + _id_onWindowAttributesChanged as jni$_.JMethodIDPtr, + _$layoutParams.pointer) .check(); } @@ -18277,22 +19405,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _onContentChanged = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _onContentChanged = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void onContentChanged()` void onContentChanged() { _onContentChanged( - reference.pointer, _id_onContentChanged as _$jni.JMethodIDPtr) + reference.pointer, _id_onContentChanged as jni$_.JMethodIDPtr) .check(); } @@ -18301,22 +19429,22 @@ class Activity extends _$jni.JObject { r'(Z)V', ); - static final _onWindowFocusChanged = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _onWindowFocusChanged = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void onWindowFocusChanged(boolean z)` void onWindowFocusChanged( bool z, ) { _onWindowFocusChanged(reference.pointer, - _id_onWindowFocusChanged as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_onWindowFocusChanged as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -18325,22 +19453,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _onAttachedToWindow = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _onAttachedToWindow = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void onAttachedToWindow()` void onAttachedToWindow() { _onAttachedToWindow( - reference.pointer, _id_onAttachedToWindow as _$jni.JMethodIDPtr) + reference.pointer, _id_onAttachedToWindow as jni$_.JMethodIDPtr) .check(); } @@ -18349,22 +19477,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _onDetachedFromWindow = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _onDetachedFromWindow = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void onDetachedFromWindow()` void onDetachedFromWindow() { _onDetachedFromWindow( - reference.pointer, _id_onDetachedFromWindow as _$jni.JMethodIDPtr) + reference.pointer, _id_onDetachedFromWindow as jni$_.JMethodIDPtr) .check(); } @@ -18373,22 +19501,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _hasWindowFocus = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _hasWindowFocus = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean hasWindowFocus()` bool hasWindowFocus() { return _hasWindowFocus( - reference.pointer, _id_hasWindowFocus as _$jni.JMethodIDPtr) + reference.pointer, _id_hasWindowFocus as jni$_.JMethodIDPtr) .boolean; } @@ -18397,25 +19525,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/KeyEvent;)Z', ); - static final _dispatchKeyEvent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _dispatchKeyEvent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean dispatchKeyEvent(android.view.KeyEvent keyEvent)` bool dispatchKeyEvent( - _$jni.JObject keyEvent, + jni$_.JObject? keyEvent, ) { - return _dispatchKeyEvent( - reference.pointer, - _id_dispatchKeyEvent as _$jni.JMethodIDPtr, - keyEvent.reference.pointer) + final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; + return _dispatchKeyEvent(reference.pointer, + _id_dispatchKeyEvent as jni$_.JMethodIDPtr, _$keyEvent.pointer) .boolean; } @@ -18424,25 +19551,26 @@ class Activity extends _$jni.JObject { r'(Landroid/view/KeyEvent;)Z', ); - static final _dispatchKeyShortcutEvent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _dispatchKeyShortcutEvent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean dispatchKeyShortcutEvent(android.view.KeyEvent keyEvent)` bool dispatchKeyShortcutEvent( - _$jni.JObject keyEvent, + jni$_.JObject? keyEvent, ) { + final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; return _dispatchKeyShortcutEvent( reference.pointer, - _id_dispatchKeyShortcutEvent as _$jni.JMethodIDPtr, - keyEvent.reference.pointer) + _id_dispatchKeyShortcutEvent as jni$_.JMethodIDPtr, + _$keyEvent.pointer) .boolean; } @@ -18451,25 +19579,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/MotionEvent;)Z', ); - static final _dispatchTouchEvent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _dispatchTouchEvent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean dispatchTouchEvent(android.view.MotionEvent motionEvent)` bool dispatchTouchEvent( - _$jni.JObject motionEvent, + jni$_.JObject? motionEvent, ) { - return _dispatchTouchEvent( - reference.pointer, - _id_dispatchTouchEvent as _$jni.JMethodIDPtr, - motionEvent.reference.pointer) + final _$motionEvent = motionEvent?.reference ?? jni$_.jNullReference; + return _dispatchTouchEvent(reference.pointer, + _id_dispatchTouchEvent as jni$_.JMethodIDPtr, _$motionEvent.pointer) .boolean; } @@ -18478,25 +19605,26 @@ class Activity extends _$jni.JObject { r'(Landroid/view/MotionEvent;)Z', ); - static final _dispatchTrackballEvent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _dispatchTrackballEvent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean dispatchTrackballEvent(android.view.MotionEvent motionEvent)` bool dispatchTrackballEvent( - _$jni.JObject motionEvent, + jni$_.JObject? motionEvent, ) { + final _$motionEvent = motionEvent?.reference ?? jni$_.jNullReference; return _dispatchTrackballEvent( reference.pointer, - _id_dispatchTrackballEvent as _$jni.JMethodIDPtr, - motionEvent.reference.pointer) + _id_dispatchTrackballEvent as jni$_.JMethodIDPtr, + _$motionEvent.pointer) .boolean; } @@ -18506,25 +19634,26 @@ class Activity extends _$jni.JObject { ); static final _dispatchGenericMotionEvent = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean dispatchGenericMotionEvent(android.view.MotionEvent motionEvent)` bool dispatchGenericMotionEvent( - _$jni.JObject motionEvent, + jni$_.JObject? motionEvent, ) { + final _$motionEvent = motionEvent?.reference ?? jni$_.jNullReference; return _dispatchGenericMotionEvent( reference.pointer, - _id_dispatchGenericMotionEvent as _$jni.JMethodIDPtr, - motionEvent.reference.pointer) + _id_dispatchGenericMotionEvent as jni$_.JMethodIDPtr, + _$motionEvent.pointer) .boolean; } @@ -18534,25 +19663,27 @@ class Activity extends _$jni.JObject { ); static final _dispatchPopulateAccessibilityEvent = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent accessibilityEvent)` bool dispatchPopulateAccessibilityEvent( - _$jni.JObject accessibilityEvent, + jni$_.JObject? accessibilityEvent, ) { + final _$accessibilityEvent = + accessibilityEvent?.reference ?? jni$_.jNullReference; return _dispatchPopulateAccessibilityEvent( reference.pointer, - _id_dispatchPopulateAccessibilityEvent as _$jni.JMethodIDPtr, - accessibilityEvent.reference.pointer) + _id_dispatchPopulateAccessibilityEvent as jni$_.JMethodIDPtr, + _$accessibilityEvent.pointer) .boolean; } @@ -18561,24 +19692,24 @@ class Activity extends _$jni.JObject { r'(I)Landroid/view/View;', ); - static final _onCreatePanelView = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') + static final _onCreatePanelView = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public android.view.View onCreatePanelView(int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject onCreatePanelView( + jni$_.JObject? onCreatePanelView( int i, ) { return _onCreatePanelView( - reference.pointer, _id_onCreatePanelView as _$jni.JMethodIDPtr, i) - .object(const _$jni.JObjectType()); + reference.pointer, _id_onCreatePanelView as jni$_.JMethodIDPtr, i) + .object(const jni$_.JObjectNullableType()); } static final _id_onCreatePanelMenu = _class.instanceMethodId( @@ -18586,28 +19717,26 @@ class Activity extends _$jni.JObject { r'(ILandroid/view/Menu;)Z', ); - static final _onCreatePanelMenu = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _onCreatePanelMenu = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public boolean onCreatePanelMenu(int i, android.view.Menu menu)` bool onCreatePanelMenu( int i, - _$jni.JObject menu, + jni$_.JObject? menu, ) { - return _onCreatePanelMenu( - reference.pointer, - _id_onCreatePanelMenu as _$jni.JMethodIDPtr, - i, - menu.reference.pointer) + final _$menu = menu?.reference ?? jni$_.jNullReference; + return _onCreatePanelMenu(reference.pointer, + _id_onCreatePanelMenu as jni$_.JMethodIDPtr, i, _$menu.pointer) .boolean; } @@ -18616,37 +19745,39 @@ class Activity extends _$jni.JObject { r'(ILandroid/view/View;Landroid/view/Menu;)Z', ); - static final _onPreparePanel = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _onPreparePanel = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, int, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public boolean onPreparePanel(int i, android.view.View view, android.view.Menu menu)` bool onPreparePanel( int i, - _$jni.JObject view, - _$jni.JObject menu, + jni$_.JObject? view, + jni$_.JObject? menu, ) { + final _$view = view?.reference ?? jni$_.jNullReference; + final _$menu = menu?.reference ?? jni$_.jNullReference; return _onPreparePanel( reference.pointer, - _id_onPreparePanel as _$jni.JMethodIDPtr, + _id_onPreparePanel as jni$_.JMethodIDPtr, i, - view.reference.pointer, - menu.reference.pointer) + _$view.pointer, + _$menu.pointer) .boolean; } @@ -18655,25 +19786,26 @@ class Activity extends _$jni.JObject { r'(ILandroid/view/Menu;)Z', ); - static final _onMenuOpened = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _onMenuOpened = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public boolean onMenuOpened(int i, android.view.Menu menu)` bool onMenuOpened( int i, - _$jni.JObject menu, + jni$_.JObject? menu, ) { + final _$menu = menu?.reference ?? jni$_.jNullReference; return _onMenuOpened(reference.pointer, - _id_onMenuOpened as _$jni.JMethodIDPtr, i, menu.reference.pointer) + _id_onMenuOpened as jni$_.JMethodIDPtr, i, _$menu.pointer) .boolean; } @@ -18682,28 +19814,26 @@ class Activity extends _$jni.JObject { r'(ILandroid/view/MenuItem;)Z', ); - static final _onMenuItemSelected = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _onMenuItemSelected = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public boolean onMenuItemSelected(int i, android.view.MenuItem menuItem)` bool onMenuItemSelected( int i, - _$jni.JObject menuItem, + jni$_.JObject? menuItem, ) { - return _onMenuItemSelected( - reference.pointer, - _id_onMenuItemSelected as _$jni.JMethodIDPtr, - i, - menuItem.reference.pointer) + final _$menuItem = menuItem?.reference ?? jni$_.jNullReference; + return _onMenuItemSelected(reference.pointer, + _id_onMenuItemSelected as jni$_.JMethodIDPtr, i, _$menuItem.pointer) .boolean; } @@ -18712,25 +19842,26 @@ class Activity extends _$jni.JObject { r'(ILandroid/view/Menu;)V', ); - static final _onPanelClosed = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _onPanelClosed = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public void onPanelClosed(int i, android.view.Menu menu)` void onPanelClosed( int i, - _$jni.JObject menu, + jni$_.JObject? menu, ) { - _onPanelClosed(reference.pointer, _id_onPanelClosed as _$jni.JMethodIDPtr, - i, menu.reference.pointer) + final _$menu = menu?.reference ?? jni$_.jNullReference; + _onPanelClosed(reference.pointer, _id_onPanelClosed as jni$_.JMethodIDPtr, + i, _$menu.pointer) .check(); } @@ -18739,22 +19870,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _invalidateOptionsMenu = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _invalidateOptionsMenu = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void invalidateOptionsMenu()` void invalidateOptionsMenu() { _invalidateOptionsMenu( - reference.pointer, _id_invalidateOptionsMenu as _$jni.JMethodIDPtr) + reference.pointer, _id_invalidateOptionsMenu as jni$_.JMethodIDPtr) .check(); } @@ -18763,25 +19894,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/Menu;)Z', ); - static final _onCreateOptionsMenu = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onCreateOptionsMenu = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean onCreateOptionsMenu(android.view.Menu menu)` bool onCreateOptionsMenu( - _$jni.JObject menu, + jni$_.JObject? menu, ) { - return _onCreateOptionsMenu( - reference.pointer, - _id_onCreateOptionsMenu as _$jni.JMethodIDPtr, - menu.reference.pointer) + final _$menu = menu?.reference ?? jni$_.jNullReference; + return _onCreateOptionsMenu(reference.pointer, + _id_onCreateOptionsMenu as jni$_.JMethodIDPtr, _$menu.pointer) .boolean; } @@ -18790,25 +19920,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/Menu;)Z', ); - static final _onPrepareOptionsMenu = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onPrepareOptionsMenu = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean onPrepareOptionsMenu(android.view.Menu menu)` bool onPrepareOptionsMenu( - _$jni.JObject menu, + jni$_.JObject? menu, ) { - return _onPrepareOptionsMenu( - reference.pointer, - _id_onPrepareOptionsMenu as _$jni.JMethodIDPtr, - menu.reference.pointer) + final _$menu = menu?.reference ?? jni$_.jNullReference; + return _onPrepareOptionsMenu(reference.pointer, + _id_onPrepareOptionsMenu as jni$_.JMethodIDPtr, _$menu.pointer) .boolean; } @@ -18817,25 +19946,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/MenuItem;)Z', ); - static final _onOptionsItemSelected = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onOptionsItemSelected = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean onOptionsItemSelected(android.view.MenuItem menuItem)` bool onOptionsItemSelected( - _$jni.JObject menuItem, + jni$_.JObject? menuItem, ) { - return _onOptionsItemSelected( - reference.pointer, - _id_onOptionsItemSelected as _$jni.JMethodIDPtr, - menuItem.reference.pointer) + final _$menuItem = menuItem?.reference ?? jni$_.jNullReference; + return _onOptionsItemSelected(reference.pointer, + _id_onOptionsItemSelected as jni$_.JMethodIDPtr, _$menuItem.pointer) .boolean; } @@ -18844,22 +19972,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _onNavigateUp = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _onNavigateUp = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean onNavigateUp()` bool onNavigateUp() { return _onNavigateUp( - reference.pointer, _id_onNavigateUp as _$jni.JMethodIDPtr) + reference.pointer, _id_onNavigateUp as jni$_.JMethodIDPtr) .boolean; } @@ -18868,25 +19996,24 @@ class Activity extends _$jni.JObject { r'(Landroid/app/Activity;)Z', ); - static final _onNavigateUpFromChild = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onNavigateUpFromChild = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean onNavigateUpFromChild(android.app.Activity activity)` bool onNavigateUpFromChild( - Activity activity, + Activity? activity, ) { - return _onNavigateUpFromChild( - reference.pointer, - _id_onNavigateUpFromChild as _$jni.JMethodIDPtr, - activity.reference.pointer) + final _$activity = activity?.reference ?? jni$_.jNullReference; + return _onNavigateUpFromChild(reference.pointer, + _id_onNavigateUpFromChild as jni$_.JMethodIDPtr, _$activity.pointer) .boolean; } @@ -18896,25 +20023,27 @@ class Activity extends _$jni.JObject { ); static final _onCreateNavigateUpTaskStack = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void onCreateNavigateUpTaskStack(android.app.TaskStackBuilder taskStackBuilder)` void onCreateNavigateUpTaskStack( - _$jni.JObject taskStackBuilder, + jni$_.JObject? taskStackBuilder, ) { + final _$taskStackBuilder = + taskStackBuilder?.reference ?? jni$_.jNullReference; _onCreateNavigateUpTaskStack( reference.pointer, - _id_onCreateNavigateUpTaskStack as _$jni.JMethodIDPtr, - taskStackBuilder.reference.pointer) + _id_onCreateNavigateUpTaskStack as jni$_.JMethodIDPtr, + _$taskStackBuilder.pointer) .check(); } @@ -18924,25 +20053,27 @@ class Activity extends _$jni.JObject { ); static final _onPrepareNavigateUpTaskStack = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void onPrepareNavigateUpTaskStack(android.app.TaskStackBuilder taskStackBuilder)` void onPrepareNavigateUpTaskStack( - _$jni.JObject taskStackBuilder, + jni$_.JObject? taskStackBuilder, ) { + final _$taskStackBuilder = + taskStackBuilder?.reference ?? jni$_.jNullReference; _onPrepareNavigateUpTaskStack( reference.pointer, - _id_onPrepareNavigateUpTaskStack as _$jni.JMethodIDPtr, - taskStackBuilder.reference.pointer) + _id_onPrepareNavigateUpTaskStack as jni$_.JMethodIDPtr, + _$taskStackBuilder.pointer) .check(); } @@ -18951,25 +20082,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/Menu;)V', ); - static final _onOptionsMenuClosed = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onOptionsMenuClosed = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void onOptionsMenuClosed(android.view.Menu menu)` void onOptionsMenuClosed( - _$jni.JObject menu, + jni$_.JObject? menu, ) { - _onOptionsMenuClosed( - reference.pointer, - _id_onOptionsMenuClosed as _$jni.JMethodIDPtr, - menu.reference.pointer) + final _$menu = menu?.reference ?? jni$_.jNullReference; + _onOptionsMenuClosed(reference.pointer, + _id_onOptionsMenuClosed as jni$_.JMethodIDPtr, _$menu.pointer) .check(); } @@ -18978,22 +20108,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _openOptionsMenu = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _openOptionsMenu = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void openOptionsMenu()` void openOptionsMenu() { _openOptionsMenu( - reference.pointer, _id_openOptionsMenu as _$jni.JMethodIDPtr) + reference.pointer, _id_openOptionsMenu as jni$_.JMethodIDPtr) .check(); } @@ -19002,22 +20132,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _closeOptionsMenu = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _closeOptionsMenu = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void closeOptionsMenu()` void closeOptionsMenu() { _closeOptionsMenu( - reference.pointer, _id_closeOptionsMenu as _$jni.JMethodIDPtr) + reference.pointer, _id_closeOptionsMenu as jni$_.JMethodIDPtr) .check(); } @@ -19026,37 +20156,41 @@ class Activity extends _$jni.JObject { r'(Landroid/view/ContextMenu;Landroid/view/View;Landroid/view/ContextMenu$ContextMenuInfo;)V', ); - static final _onCreateContextMenu = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _onCreateContextMenu = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void onCreateContextMenu(android.view.ContextMenu contextMenu, android.view.View view, android.view.ContextMenu$ContextMenuInfo contextMenuInfo)` void onCreateContextMenu( - _$jni.JObject contextMenu, - _$jni.JObject view, - _$jni.JObject contextMenuInfo, - ) { + jni$_.JObject? contextMenu, + jni$_.JObject? view, + jni$_.JObject? contextMenuInfo, + ) { + final _$contextMenu = contextMenu?.reference ?? jni$_.jNullReference; + final _$view = view?.reference ?? jni$_.jNullReference; + final _$contextMenuInfo = + contextMenuInfo?.reference ?? jni$_.jNullReference; _onCreateContextMenu( reference.pointer, - _id_onCreateContextMenu as _$jni.JMethodIDPtr, - contextMenu.reference.pointer, - view.reference.pointer, - contextMenuInfo.reference.pointer) + _id_onCreateContextMenu as jni$_.JMethodIDPtr, + _$contextMenu.pointer, + _$view.pointer, + _$contextMenuInfo.pointer) .check(); } @@ -19065,25 +20199,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/View;)V', ); - static final _registerForContextMenu = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _registerForContextMenu = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void registerForContextMenu(android.view.View view)` void registerForContextMenu( - _$jni.JObject view, + jni$_.JObject? view, ) { - _registerForContextMenu( - reference.pointer, - _id_registerForContextMenu as _$jni.JMethodIDPtr, - view.reference.pointer) + final _$view = view?.reference ?? jni$_.jNullReference; + _registerForContextMenu(reference.pointer, + _id_registerForContextMenu as jni$_.JMethodIDPtr, _$view.pointer) .check(); } @@ -19092,25 +20225,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/View;)V', ); - static final _unregisterForContextMenu = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _unregisterForContextMenu = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void unregisterForContextMenu(android.view.View view)` void unregisterForContextMenu( - _$jni.JObject view, + jni$_.JObject? view, ) { - _unregisterForContextMenu( - reference.pointer, - _id_unregisterForContextMenu as _$jni.JMethodIDPtr, - view.reference.pointer) + final _$view = view?.reference ?? jni$_.jNullReference; + _unregisterForContextMenu(reference.pointer, + _id_unregisterForContextMenu as jni$_.JMethodIDPtr, _$view.pointer) .check(); } @@ -19119,23 +20251,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/View;)V', ); - static final _openContextMenu = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _openContextMenu = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void openContextMenu(android.view.View view)` void openContextMenu( - _$jni.JObject view, + jni$_.JObject? view, ) { + final _$view = view?.reference ?? jni$_.jNullReference; _openContextMenu(reference.pointer, - _id_openContextMenu as _$jni.JMethodIDPtr, view.reference.pointer) + _id_openContextMenu as jni$_.JMethodIDPtr, _$view.pointer) .check(); } @@ -19144,22 +20277,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _closeContextMenu = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _closeContextMenu = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void closeContextMenu()` void closeContextMenu() { _closeContextMenu( - reference.pointer, _id_closeContextMenu as _$jni.JMethodIDPtr) + reference.pointer, _id_closeContextMenu as jni$_.JMethodIDPtr) .check(); } @@ -19168,25 +20301,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/MenuItem;)Z', ); - static final _onContextItemSelected = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onContextItemSelected = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean onContextItemSelected(android.view.MenuItem menuItem)` bool onContextItemSelected( - _$jni.JObject menuItem, + jni$_.JObject? menuItem, ) { - return _onContextItemSelected( - reference.pointer, - _id_onContextItemSelected as _$jni.JMethodIDPtr, - menuItem.reference.pointer) + final _$menuItem = menuItem?.reference ?? jni$_.jNullReference; + return _onContextItemSelected(reference.pointer, + _id_onContextItemSelected as jni$_.JMethodIDPtr, _$menuItem.pointer) .boolean; } @@ -19195,25 +20327,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/Menu;)V', ); - static final _onContextMenuClosed = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onContextMenuClosed = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void onContextMenuClosed(android.view.Menu menu)` void onContextMenuClosed( - _$jni.JObject menu, + jni$_.JObject? menu, ) { - _onContextMenuClosed( - reference.pointer, - _id_onContextMenuClosed as _$jni.JMethodIDPtr, - menu.reference.pointer) + final _$menu = menu?.reference ?? jni$_.jNullReference; + _onContextMenuClosed(reference.pointer, + _id_onContextMenuClosed as jni$_.JMethodIDPtr, _$menu.pointer) .check(); } @@ -19222,21 +20353,21 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _showDialog = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _showDialog = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final void showDialog(int i)` void showDialog( int i, ) { - _showDialog(reference.pointer, _id_showDialog as _$jni.JMethodIDPtr, i) + _showDialog(reference.pointer, _id_showDialog as jni$_.JMethodIDPtr, i) .check(); } @@ -19245,25 +20376,26 @@ class Activity extends _$jni.JObject { r'(ILandroid/os/Bundle;)Z', ); - static final _showDialog$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _showDialog$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public final boolean showDialog(int i, android.os.Bundle bundle)` bool showDialog$1( int i, - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { + final _$bundle = bundle?.reference ?? jni$_.jNullReference; return _showDialog$1(reference.pointer, - _id_showDialog$1 as _$jni.JMethodIDPtr, i, bundle.reference.pointer) + _id_showDialog$1 as jni$_.JMethodIDPtr, i, _$bundle.pointer) .boolean; } @@ -19272,22 +20404,22 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _dismissDialog = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _dismissDialog = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final void dismissDialog(int i)` void dismissDialog( int i, ) { _dismissDialog( - reference.pointer, _id_dismissDialog as _$jni.JMethodIDPtr, i) + reference.pointer, _id_dismissDialog as jni$_.JMethodIDPtr, i) .check(); } @@ -19296,21 +20428,21 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _removeDialog = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _removeDialog = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final void removeDialog(int i)` void removeDialog( int i, ) { - _removeDialog(reference.pointer, _id_removeDialog as _$jni.JMethodIDPtr, i) + _removeDialog(reference.pointer, _id_removeDialog as jni$_.JMethodIDPtr, i) .check(); } @@ -19319,25 +20451,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/SearchEvent;)Z', ); - static final _onSearchRequested = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onSearchRequested = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean onSearchRequested(android.view.SearchEvent searchEvent)` bool onSearchRequested( - _$jni.JObject searchEvent, + jni$_.JObject? searchEvent, ) { - return _onSearchRequested( - reference.pointer, - _id_onSearchRequested as _$jni.JMethodIDPtr, - searchEvent.reference.pointer) + final _$searchEvent = searchEvent?.reference ?? jni$_.jNullReference; + return _onSearchRequested(reference.pointer, + _id_onSearchRequested as jni$_.JMethodIDPtr, _$searchEvent.pointer) .boolean; } @@ -19346,22 +20477,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _onSearchRequested$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _onSearchRequested$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean onSearchRequested()` bool onSearchRequested$1() { return _onSearchRequested$1( - reference.pointer, _id_onSearchRequested$1 as _$jni.JMethodIDPtr) + reference.pointer, _id_onSearchRequested$1 as jni$_.JMethodIDPtr) .boolean; } @@ -19370,24 +20501,24 @@ class Activity extends _$jni.JObject { r'()Landroid/view/SearchEvent;', ); - static final _getSearchEvent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getSearchEvent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final android.view.SearchEvent getSearchEvent()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getSearchEvent() { + jni$_.JObject? getSearchEvent() { return _getSearchEvent( - reference.pointer, _id_getSearchEvent as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getSearchEvent as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_startSearch = _class.instanceMethodId( @@ -19395,41 +20526,38 @@ class Activity extends _$jni.JObject { r'(Ljava/lang/String;ZLandroid/os/Bundle;Z)V', ); - static final _startSearch = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startSearch = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>, + jni$_.Pointer, int)>(); /// from: `public void startSearch(java.lang.String string, boolean z, android.os.Bundle bundle, boolean z1)` void startSearch( - _$jni.JString string, + jni$_.JString? string, bool z, - _$jni.JObject bundle, + jni$_.JObject? bundle, bool z1, ) { - _startSearch( - reference.pointer, - _id_startSearch as _$jni.JMethodIDPtr, - string.reference.pointer, - z ? 1 : 0, - bundle.reference.pointer, - z1 ? 1 : 0) + final _$string = string?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; + _startSearch(reference.pointer, _id_startSearch as jni$_.JMethodIDPtr, + _$string.pointer, z ? 1 : 0, _$bundle.pointer, z1 ? 1 : 0) .check(); } @@ -19438,30 +20566,32 @@ class Activity extends _$jni.JObject { r'(Ljava/lang/String;Landroid/os/Bundle;)V', ); - static final _triggerSearch = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _triggerSearch = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void triggerSearch(java.lang.String string, android.os.Bundle bundle)` void triggerSearch( - _$jni.JString string, - _$jni.JObject bundle, + jni$_.JString? string, + jni$_.JObject? bundle, ) { - _triggerSearch(reference.pointer, _id_triggerSearch as _$jni.JMethodIDPtr, - string.reference.pointer, bundle.reference.pointer) + final _$string = string?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; + _triggerSearch(reference.pointer, _id_triggerSearch as jni$_.JMethodIDPtr, + _$string.pointer, _$bundle.pointer) .check(); } @@ -19470,21 +20600,21 @@ class Activity extends _$jni.JObject { r'(Z)V', ); - static final _takeKeyEvents = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _takeKeyEvents = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void takeKeyEvents(boolean z)` void takeKeyEvents( bool z, ) { - _takeKeyEvents(reference.pointer, _id_takeKeyEvents as _$jni.JMethodIDPtr, + _takeKeyEvents(reference.pointer, _id_takeKeyEvents as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -19494,23 +20624,23 @@ class Activity extends _$jni.JObject { r'(I)Z', ); - static final _requestWindowFeature = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallBooleanMethod') + static final _requestWindowFeature = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final boolean requestWindowFeature(int i)` bool requestWindowFeature( int i, ) { return _requestWindowFeature(reference.pointer, - _id_requestWindowFeature as _$jni.JMethodIDPtr, i) + _id_requestWindowFeature as jni$_.JMethodIDPtr, i) .boolean; } @@ -19520,16 +20650,16 @@ class Activity extends _$jni.JObject { ); static final _setFeatureDrawableResource = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32, _$jni.Int32)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Int32)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int, int)>(); /// from: `public final void setFeatureDrawableResource(int i, int i1)` void setFeatureDrawableResource( @@ -19537,7 +20667,7 @@ class Activity extends _$jni.JObject { int i1, ) { _setFeatureDrawableResource(reference.pointer, - _id_setFeatureDrawableResource as _$jni.JMethodIDPtr, i, i1) + _id_setFeatureDrawableResource as jni$_.JMethodIDPtr, i, i1) .check(); } @@ -19546,28 +20676,26 @@ class Activity extends _$jni.JObject { r'(ILandroid/net/Uri;)V', ); - static final _setFeatureDrawableUri = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _setFeatureDrawableUri = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public final void setFeatureDrawableUri(int i, android.net.Uri uri)` void setFeatureDrawableUri( int i, - _$jni.JObject uri, + jni$_.JObject? uri, ) { - _setFeatureDrawableUri( - reference.pointer, - _id_setFeatureDrawableUri as _$jni.JMethodIDPtr, - i, - uri.reference.pointer) + final _$uri = uri?.reference ?? jni$_.jNullReference; + _setFeatureDrawableUri(reference.pointer, + _id_setFeatureDrawableUri as jni$_.JMethodIDPtr, i, _$uri.pointer) .check(); } @@ -19576,28 +20704,26 @@ class Activity extends _$jni.JObject { r'(ILandroid/graphics/drawable/Drawable;)V', ); - static final _setFeatureDrawable = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _setFeatureDrawable = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public final void setFeatureDrawable(int i, android.graphics.drawable.Drawable drawable)` void setFeatureDrawable( int i, - _$jni.JObject drawable, + jni$_.JObject? drawable, ) { - _setFeatureDrawable( - reference.pointer, - _id_setFeatureDrawable as _$jni.JMethodIDPtr, - i, - drawable.reference.pointer) + final _$drawable = drawable?.reference ?? jni$_.jNullReference; + _setFeatureDrawable(reference.pointer, + _id_setFeatureDrawable as jni$_.JMethodIDPtr, i, _$drawable.pointer) .check(); } @@ -19606,16 +20732,16 @@ class Activity extends _$jni.JObject { r'(II)V', ); - static final _setFeatureDrawableAlpha = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32, _$jni.Int32)>)>>( + static final _setFeatureDrawableAlpha = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Int32)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int, int)>(); /// from: `public final void setFeatureDrawableAlpha(int i, int i1)` void setFeatureDrawableAlpha( @@ -19623,7 +20749,7 @@ class Activity extends _$jni.JObject { int i1, ) { _setFeatureDrawableAlpha(reference.pointer, - _id_setFeatureDrawableAlpha as _$jni.JMethodIDPtr, i, i1) + _id_setFeatureDrawableAlpha as jni$_.JMethodIDPtr, i, i1) .check(); } @@ -19632,24 +20758,24 @@ class Activity extends _$jni.JObject { r'()Landroid/view/LayoutInflater;', ); - static final _getLayoutInflater = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getLayoutInflater = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.view.LayoutInflater getLayoutInflater()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getLayoutInflater() { + jni$_.JObject? getLayoutInflater() { return _getLayoutInflater( - reference.pointer, _id_getLayoutInflater as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getLayoutInflater as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getMenuInflater = _class.instanceMethodId( @@ -19657,24 +20783,24 @@ class Activity extends _$jni.JObject { r'()Landroid/view/MenuInflater;', ); - static final _getMenuInflater = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getMenuInflater = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.view.MenuInflater getMenuInflater()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getMenuInflater() { + jni$_.JObject? getMenuInflater() { return _getMenuInflater( - reference.pointer, _id_getMenuInflater as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getMenuInflater as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_setTheme = _class.instanceMethodId( @@ -19682,21 +20808,21 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _setTheme = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setTheme = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void setTheme(int i)` void setTheme( int i, ) { - _setTheme(reference.pointer, _id_setTheme as _$jni.JMethodIDPtr, i).check(); + _setTheme(reference.pointer, _id_setTheme as jni$_.JMethodIDPtr, i).check(); } static final _id_requestPermissions = _class.instanceMethodId( @@ -19704,28 +20830,26 @@ class Activity extends _$jni.JObject { r'([Ljava/lang/String;I)V', ); - static final _requestPermissions = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _requestPermissions = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public final void requestPermissions(java.lang.String[] strings, int i)` void requestPermissions( - _$jni.JArray<_$jni.JString> strings, + jni$_.JArray? strings, int i, ) { - _requestPermissions( - reference.pointer, - _id_requestPermissions as _$jni.JMethodIDPtr, - strings.reference.pointer, - i) + final _$strings = strings?.reference ?? jni$_.jNullReference; + _requestPermissions(reference.pointer, + _id_requestPermissions as jni$_.JMethodIDPtr, _$strings.pointer, i) .check(); } @@ -19735,37 +20859,39 @@ class Activity extends _$jni.JObject { ); static final _onRequestPermissionsResult = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, int, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void onRequestPermissionsResult(int i, java.lang.String[] strings, int[] is)` void onRequestPermissionsResult( int i, - _$jni.JArray<_$jni.JString> strings, - _$jni.JArray<_$jni.jint> is$, + jni$_.JArray? strings, + jni$_.JIntArray? is$, ) { + final _$strings = strings?.reference ?? jni$_.jNullReference; + final _$is$ = is$?.reference ?? jni$_.jNullReference; _onRequestPermissionsResult( reference.pointer, - _id_onRequestPermissionsResult as _$jni.JMethodIDPtr, + _id_onRequestPermissionsResult as jni$_.JMethodIDPtr, i, - strings.reference.pointer, - is$.reference.pointer) + _$strings.pointer, + _$is$.pointer) .check(); } @@ -19776,25 +20902,26 @@ class Activity extends _$jni.JObject { ); static final _shouldShowRequestPermissionRationale = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean shouldShowRequestPermissionRationale(java.lang.String string)` bool shouldShowRequestPermissionRationale( - _$jni.JString string, + jni$_.JString? string, ) { + final _$string = string?.reference ?? jni$_.jNullReference; return _shouldShowRequestPermissionRationale( reference.pointer, - _id_shouldShowRequestPermissionRationale as _$jni.JMethodIDPtr, - string.reference.pointer) + _id_shouldShowRequestPermissionRationale as jni$_.JMethodIDPtr, + _$string.pointer) .boolean; } @@ -19803,27 +20930,28 @@ class Activity extends _$jni.JObject { r'(Landroid/content/Intent;I)V', ); - static final _startActivityForResult = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _startActivityForResult = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public void startActivityForResult(android.content.Intent intent, int i)` void startActivityForResult( - Intent intent, + Intent? intent, int i, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; _startActivityForResult( reference.pointer, - _id_startActivityForResult as _$jni.JMethodIDPtr, - intent.reference.pointer, + _id_startActivityForResult as jni$_.JMethodIDPtr, + _$intent.pointer, i) .check(); } @@ -19833,37 +20961,39 @@ class Activity extends _$jni.JObject { r'(Landroid/content/Intent;ILandroid/os/Bundle;)V', ); - static final _startActivityForResult$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startActivityForResult$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public void startActivityForResult(android.content.Intent intent, int i, android.os.Bundle bundle)` void startActivityForResult$1( - Intent intent, + Intent? intent, int i, - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivityForResult$1( reference.pointer, - _id_startActivityForResult$1 as _$jni.JMethodIDPtr, - intent.reference.pointer, + _id_startActivityForResult$1 as jni$_.JMethodIDPtr, + _$intent.pointer, i, - bundle.reference.pointer) + _$bundle.pointer) .check(); } @@ -19873,22 +21003,22 @@ class Activity extends _$jni.JObject { ); static final _isActivityTransitionRunning = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isActivityTransitionRunning()` bool isActivityTransitionRunning() { return _isActivityTransitionRunning(reference.pointer, - _id_isActivityTransitionRunning as _$jni.JMethodIDPtr) + _id_isActivityTransitionRunning as jni$_.JMethodIDPtr) .boolean; } @@ -19898,46 +21028,48 @@ class Activity extends _$jni.JObject { ); static final _startIntentSenderForResult = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Int32 + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>, + jni$_.Pointer, int, int, int)>(); /// from: `public void startIntentSenderForResult(android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3)` void startIntentSenderForResult( - _$jni.JObject intentSender, + jni$_.JObject? intentSender, int i, - Intent intent, + Intent? intent, int i1, int i2, int i3, ) { + final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; + final _$intent = intent?.reference ?? jni$_.jNullReference; _startIntentSenderForResult( reference.pointer, - _id_startIntentSenderForResult as _$jni.JMethodIDPtr, - intentSender.reference.pointer, + _id_startIntentSenderForResult as jni$_.JMethodIDPtr, + _$intentSender.pointer, i, - intent.reference.pointer, + _$intent.pointer, i1, i2, i3) @@ -19950,53 +21082,56 @@ class Activity extends _$jni.JObject { ); static final _startIntentSenderForResult$1 = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>, + jni$_.Pointer, int, int, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public void startIntentSenderForResult(android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3, android.os.Bundle bundle)` void startIntentSenderForResult$1( - _$jni.JObject intentSender, + jni$_.JObject? intentSender, int i, - Intent intent, + Intent? intent, int i1, int i2, int i3, - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { + final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startIntentSenderForResult$1( reference.pointer, - _id_startIntentSenderForResult$1 as _$jni.JMethodIDPtr, - intentSender.reference.pointer, + _id_startIntentSenderForResult$1 as jni$_.JMethodIDPtr, + _$intentSender.pointer, i, - intent.reference.pointer, + _$intent.pointer, i1, i2, i3, - bundle.reference.pointer) + _$bundle.pointer) .check(); } @@ -20005,23 +21140,24 @@ class Activity extends _$jni.JObject { r'(Landroid/content/Intent;)V', ); - static final _startActivity = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _startActivity = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void startActivity(android.content.Intent intent)` void startActivity( - Intent intent, + Intent? intent, ) { - _startActivity(reference.pointer, _id_startActivity as _$jni.JMethodIDPtr, - intent.reference.pointer) + final _$intent = intent?.reference ?? jni$_.jNullReference; + _startActivity(reference.pointer, _id_startActivity as jni$_.JMethodIDPtr, + _$intent.pointer) .check(); } @@ -20030,33 +21166,35 @@ class Activity extends _$jni.JObject { r'(Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _startActivity$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startActivity$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void startActivity(android.content.Intent intent, android.os.Bundle bundle)` void startActivity$1( - Intent intent, - _$jni.JObject bundle, + Intent? intent, + jni$_.JObject? bundle, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivity$1( reference.pointer, - _id_startActivity$1 as _$jni.JMethodIDPtr, - intent.reference.pointer, - bundle.reference.pointer) + _id_startActivity$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$bundle.pointer) .check(); } @@ -20065,25 +21203,24 @@ class Activity extends _$jni.JObject { r'([Landroid/content/Intent;)V', ); - static final _startActivities = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _startActivities = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void startActivities(android.content.Intent[] intents)` void startActivities( - _$jni.JArray intents, + jni$_.JArray? intents, ) { - _startActivities( - reference.pointer, - _id_startActivities as _$jni.JMethodIDPtr, - intents.reference.pointer) + final _$intents = intents?.reference ?? jni$_.jNullReference; + _startActivities(reference.pointer, + _id_startActivities as jni$_.JMethodIDPtr, _$intents.pointer) .check(); } @@ -20092,33 +21229,35 @@ class Activity extends _$jni.JObject { r'([Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _startActivities$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startActivities$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void startActivities(android.content.Intent[] intents, android.os.Bundle bundle)` void startActivities$1( - _$jni.JArray intents, - _$jni.JObject bundle, + jni$_.JArray? intents, + jni$_.JObject? bundle, ) { + final _$intents = intents?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivities$1( reference.pointer, - _id_startActivities$1 as _$jni.JMethodIDPtr, - intents.reference.pointer, - bundle.reference.pointer) + _id_startActivities$1 as jni$_.JMethodIDPtr, + _$intents.pointer, + _$bundle.pointer) .check(); } @@ -20127,42 +21266,44 @@ class Activity extends _$jni.JObject { r'(Landroid/content/IntentSender;Landroid/content/Intent;III)V', ); - static final _startIntentSender = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startIntentSender = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Int32 + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int, int, int)>(); /// from: `public void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2)` void startIntentSender( - _$jni.JObject intentSender, - Intent intent, + jni$_.JObject? intentSender, + Intent? intent, int i, int i1, int i2, ) { + final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; + final _$intent = intent?.reference ?? jni$_.jNullReference; _startIntentSender( reference.pointer, - _id_startIntentSender as _$jni.JMethodIDPtr, - intentSender.reference.pointer, - intent.reference.pointer, + _id_startIntentSender as jni$_.JMethodIDPtr, + _$intentSender.pointer, + _$intent.pointer, i, i1, i2) @@ -20174,49 +21315,52 @@ class Activity extends _$jni.JObject { r'(Landroid/content/IntentSender;Landroid/content/Intent;IIILandroid/os/Bundle;)V', ); - static final _startIntentSender$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startIntentSender$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int, int, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2, android.os.Bundle bundle)` void startIntentSender$1( - _$jni.JObject intentSender, - Intent intent, + jni$_.JObject? intentSender, + Intent? intent, int i, int i1, int i2, - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { + final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startIntentSender$1( reference.pointer, - _id_startIntentSender$1 as _$jni.JMethodIDPtr, - intentSender.reference.pointer, - intent.reference.pointer, + _id_startIntentSender$1 as jni$_.JMethodIDPtr, + _$intentSender.pointer, + _$intent.pointer, i, i1, i2, - bundle.reference.pointer) + _$bundle.pointer) .check(); } @@ -20225,27 +21369,28 @@ class Activity extends _$jni.JObject { r'(Landroid/content/Intent;I)Z', ); - static final _startActivityIfNeeded = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _startActivityIfNeeded = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public boolean startActivityIfNeeded(android.content.Intent intent, int i)` bool startActivityIfNeeded( - Intent intent, + Intent? intent, int i, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; return _startActivityIfNeeded( reference.pointer, - _id_startActivityIfNeeded as _$jni.JMethodIDPtr, - intent.reference.pointer, + _id_startActivityIfNeeded as jni$_.JMethodIDPtr, + _$intent.pointer, i) .boolean; } @@ -20255,37 +21400,39 @@ class Activity extends _$jni.JObject { r'(Landroid/content/Intent;ILandroid/os/Bundle;)Z', ); - static final _startActivityIfNeeded$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startActivityIfNeeded$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public boolean startActivityIfNeeded(android.content.Intent intent, int i, android.os.Bundle bundle)` bool startActivityIfNeeded$1( - Intent intent, + Intent? intent, int i, - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; return _startActivityIfNeeded$1( reference.pointer, - _id_startActivityIfNeeded$1 as _$jni.JMethodIDPtr, - intent.reference.pointer, + _id_startActivityIfNeeded$1 as jni$_.JMethodIDPtr, + _$intent.pointer, i, - bundle.reference.pointer) + _$bundle.pointer) .boolean; } @@ -20294,25 +21441,26 @@ class Activity extends _$jni.JObject { r'(Landroid/content/Intent;)Z', ); - static final _startNextMatchingActivity = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _startNextMatchingActivity = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean startNextMatchingActivity(android.content.Intent intent)` bool startNextMatchingActivity( - Intent intent, + Intent? intent, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; return _startNextMatchingActivity( reference.pointer, - _id_startNextMatchingActivity as _$jni.JMethodIDPtr, - intent.reference.pointer) + _id_startNextMatchingActivity as jni$_.JMethodIDPtr, + _$intent.pointer) .boolean; } @@ -20322,33 +21470,35 @@ class Activity extends _$jni.JObject { ); static final _startNextMatchingActivity$1 = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public boolean startNextMatchingActivity(android.content.Intent intent, android.os.Bundle bundle)` bool startNextMatchingActivity$1( - Intent intent, - _$jni.JObject bundle, + Intent? intent, + jni$_.JObject? bundle, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; return _startNextMatchingActivity$1( reference.pointer, - _id_startNextMatchingActivity$1 as _$jni.JMethodIDPtr, - intent.reference.pointer, - bundle.reference.pointer) + _id_startNextMatchingActivity$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$bundle.pointer) .boolean; } @@ -20357,36 +21507,38 @@ class Activity extends _$jni.JObject { r'(Landroid/app/Activity;Landroid/content/Intent;I)V', ); - static final _startActivityFromChild = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startActivityFromChild = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int)>(); /// from: `public void startActivityFromChild(android.app.Activity activity, android.content.Intent intent, int i)` void startActivityFromChild( - Activity activity, - Intent intent, + Activity? activity, + Intent? intent, int i, ) { + final _$activity = activity?.reference ?? jni$_.jNullReference; + final _$intent = intent?.reference ?? jni$_.jNullReference; _startActivityFromChild( reference.pointer, - _id_startActivityFromChild as _$jni.JMethodIDPtr, - activity.reference.pointer, - intent.reference.pointer, + _id_startActivityFromChild as jni$_.JMethodIDPtr, + _$activity.pointer, + _$intent.pointer, i) .check(); } @@ -20396,41 +21548,44 @@ class Activity extends _$jni.JObject { r'(Landroid/app/Activity;Landroid/content/Intent;ILandroid/os/Bundle;)V', ); - static final _startActivityFromChild$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startActivityFromChild$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public void startActivityFromChild(android.app.Activity activity, android.content.Intent intent, int i, android.os.Bundle bundle)` void startActivityFromChild$1( - Activity activity, - Intent intent, + Activity? activity, + Intent? intent, int i, - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { + final _$activity = activity?.reference ?? jni$_.jNullReference; + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivityFromChild$1( reference.pointer, - _id_startActivityFromChild$1 as _$jni.JMethodIDPtr, - activity.reference.pointer, - intent.reference.pointer, + _id_startActivityFromChild$1 as jni$_.JMethodIDPtr, + _$activity.pointer, + _$intent.pointer, i, - bundle.reference.pointer) + _$bundle.pointer) .check(); } @@ -20439,36 +21594,38 @@ class Activity extends _$jni.JObject { r'(Landroid/app/Fragment;Landroid/content/Intent;I)V', ); - static final _startActivityFromFragment = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _startActivityFromFragment = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int)>(); /// from: `public void startActivityFromFragment(android.app.Fragment fragment, android.content.Intent intent, int i)` void startActivityFromFragment( - _$jni.JObject fragment, - Intent intent, + jni$_.JObject? fragment, + Intent? intent, int i, ) { + final _$fragment = fragment?.reference ?? jni$_.jNullReference; + final _$intent = intent?.reference ?? jni$_.jNullReference; _startActivityFromFragment( reference.pointer, - _id_startActivityFromFragment as _$jni.JMethodIDPtr, - fragment.reference.pointer, - intent.reference.pointer, + _id_startActivityFromFragment as jni$_.JMethodIDPtr, + _$fragment.pointer, + _$intent.pointer, i) .check(); } @@ -20479,41 +21636,44 @@ class Activity extends _$jni.JObject { ); static final _startActivityFromFragment$1 = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public void startActivityFromFragment(android.app.Fragment fragment, android.content.Intent intent, int i, android.os.Bundle bundle)` void startActivityFromFragment$1( - _$jni.JObject fragment, - Intent intent, + jni$_.JObject? fragment, + Intent? intent, int i, - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { + final _$fragment = fragment?.reference ?? jni$_.jNullReference; + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivityFromFragment$1( reference.pointer, - _id_startActivityFromFragment$1 as _$jni.JMethodIDPtr, - fragment.reference.pointer, - intent.reference.pointer, + _id_startActivityFromFragment$1 as jni$_.JMethodIDPtr, + _$fragment.pointer, + _$intent.pointer, i, - bundle.reference.pointer) + _$bundle.pointer) .check(); } @@ -20523,50 +21683,53 @@ class Activity extends _$jni.JObject { ); static final _startIntentSenderFromChild = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Int32 + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>, + jni$_.Pointer, int, int, int)>(); /// from: `public void startIntentSenderFromChild(android.app.Activity activity, android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3)` void startIntentSenderFromChild( - Activity activity, - _$jni.JObject intentSender, + Activity? activity, + jni$_.JObject? intentSender, int i, - Intent intent, + Intent? intent, int i1, int i2, int i3, ) { + final _$activity = activity?.reference ?? jni$_.jNullReference; + final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; + final _$intent = intent?.reference ?? jni$_.jNullReference; _startIntentSenderFromChild( reference.pointer, - _id_startIntentSenderFromChild as _$jni.JMethodIDPtr, - activity.reference.pointer, - intentSender.reference.pointer, + _id_startIntentSenderFromChild as jni$_.JMethodIDPtr, + _$activity.pointer, + _$intentSender.pointer, i, - intent.reference.pointer, + _$intent.pointer, i1, i2, i3) @@ -20579,57 +21742,61 @@ class Activity extends _$jni.JObject { ); static final _startIntentSenderFromChild$1 = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>, + jni$_.Pointer, int, int, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public void startIntentSenderFromChild(android.app.Activity activity, android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3, android.os.Bundle bundle)` void startIntentSenderFromChild$1( - Activity activity, - _$jni.JObject intentSender, + Activity? activity, + jni$_.JObject? intentSender, int i, - Intent intent, + Intent? intent, int i1, int i2, int i3, - _$jni.JObject bundle, + jni$_.JObject? bundle, ) { + final _$activity = activity?.reference ?? jni$_.jNullReference; + final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; + final _$intent = intent?.reference ?? jni$_.jNullReference; + final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startIntentSenderFromChild$1( reference.pointer, - _id_startIntentSenderFromChild$1 as _$jni.JMethodIDPtr, - activity.reference.pointer, - intentSender.reference.pointer, + _id_startIntentSenderFromChild$1 as jni$_.JMethodIDPtr, + _$activity.pointer, + _$intentSender.pointer, i, - intent.reference.pointer, + _$intent.pointer, i1, i2, i3, - bundle.reference.pointer) + _$bundle.pointer) .check(); } @@ -20638,16 +21805,16 @@ class Activity extends _$jni.JObject { r'(II)V', ); - static final _overridePendingTransition = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32, _$jni.Int32)>)>>( + static final _overridePendingTransition = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Int32)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int, int)>(); /// from: `public void overridePendingTransition(int i, int i1)` void overridePendingTransition( @@ -20655,7 +21822,7 @@ class Activity extends _$jni.JObject { int i1, ) { _overridePendingTransition(reference.pointer, - _id_overridePendingTransition as _$jni.JMethodIDPtr, i, i1) + _id_overridePendingTransition as jni$_.JMethodIDPtr, i, i1) .check(); } @@ -20665,20 +21832,20 @@ class Activity extends _$jni.JObject { ); static final _overridePendingTransition$1 = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Int32, - _$jni.Int32, - _$jni.Int32 + jni$_.Int32, + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, int, int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, int, int)>(); /// from: `public void overridePendingTransition(int i, int i1, int i2)` void overridePendingTransition$1( @@ -20687,7 +21854,7 @@ class Activity extends _$jni.JObject { int i2, ) { _overridePendingTransition$1(reference.pointer, - _id_overridePendingTransition$1 as _$jni.JMethodIDPtr, i, i1, i2) + _id_overridePendingTransition$1 as jni$_.JMethodIDPtr, i, i1, i2) .check(); } @@ -20696,21 +21863,21 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _setResult = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setResult = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final void setResult(int i)` void setResult( int i, ) { - _setResult(reference.pointer, _id_setResult as _$jni.JMethodIDPtr, i) + _setResult(reference.pointer, _id_setResult as jni$_.JMethodIDPtr, i) .check(); } @@ -20719,25 +21886,26 @@ class Activity extends _$jni.JObject { r'(ILandroid/content/Intent;)V', ); - static final _setResult$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _setResult$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public final void setResult(int i, android.content.Intent intent)` void setResult$1( int i, - Intent intent, + Intent? intent, ) { - _setResult$1(reference.pointer, _id_setResult$1 as _$jni.JMethodIDPtr, i, - intent.reference.pointer) + final _$intent = intent?.reference ?? jni$_.jNullReference; + _setResult$1(reference.pointer, _id_setResult$1 as jni$_.JMethodIDPtr, i, + _$intent.pointer) .check(); } @@ -20746,24 +21914,24 @@ class Activity extends _$jni.JObject { r'()Landroid/net/Uri;', ); - static final _getReferrer = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getReferrer = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.net.Uri getReferrer()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getReferrer() { + jni$_.JObject? getReferrer() { return _getReferrer( - reference.pointer, _id_getReferrer as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getReferrer as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_onProvideReferrer = _class.instanceMethodId( @@ -20771,24 +21939,24 @@ class Activity extends _$jni.JObject { r'()Landroid/net/Uri;', ); - static final _onProvideReferrer = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _onProvideReferrer = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.net.Uri onProvideReferrer()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject onProvideReferrer() { + jni$_.JObject? onProvideReferrer() { return _onProvideReferrer( - reference.pointer, _id_onProvideReferrer as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_onProvideReferrer as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getCallingPackage = _class.instanceMethodId( @@ -20796,24 +21964,24 @@ class Activity extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _getCallingPackage = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getCallingPackage = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String getCallingPackage()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getCallingPackage() { + jni$_.JString? getCallingPackage() { return _getCallingPackage( - reference.pointer, _id_getCallingPackage as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + reference.pointer, _id_getCallingPackage as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_getCallingActivity = _class.instanceMethodId( @@ -20821,24 +21989,24 @@ class Activity extends _$jni.JObject { r'()Landroid/content/ComponentName;', ); - static final _getCallingActivity = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getCallingActivity = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.content.ComponentName getCallingActivity()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getCallingActivity() { + jni$_.JObject? getCallingActivity() { return _getCallingActivity( - reference.pointer, _id_getCallingActivity as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getCallingActivity as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_setVisible = _class.instanceMethodId( @@ -20846,22 +22014,22 @@ class Activity extends _$jni.JObject { r'(Z)V', ); - static final _setVisible = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setVisible = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void setVisible(boolean z)` void setVisible( bool z, ) { _setVisible( - reference.pointer, _id_setVisible as _$jni.JMethodIDPtr, z ? 1 : 0) + reference.pointer, _id_setVisible as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -20870,22 +22038,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _isFinishing = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isFinishing = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isFinishing()` bool isFinishing() { return _isFinishing( - reference.pointer, _id_isFinishing as _$jni.JMethodIDPtr) + reference.pointer, _id_isFinishing as jni$_.JMethodIDPtr) .boolean; } @@ -20894,22 +22062,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _isDestroyed = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isDestroyed = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isDestroyed()` bool isDestroyed() { return _isDestroyed( - reference.pointer, _id_isDestroyed as _$jni.JMethodIDPtr) + reference.pointer, _id_isDestroyed as jni$_.JMethodIDPtr) .boolean; } @@ -20918,22 +22086,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _isChangingConfigurations = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isChangingConfigurations = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isChangingConfigurations()` bool isChangingConfigurations() { return _isChangingConfigurations(reference.pointer, - _id_isChangingConfigurations as _$jni.JMethodIDPtr) + _id_isChangingConfigurations as jni$_.JMethodIDPtr) .boolean; } @@ -20942,21 +22110,21 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _recreate = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _recreate = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void recreate()` void recreate() { - _recreate(reference.pointer, _id_recreate as _$jni.JMethodIDPtr).check(); + _recreate(reference.pointer, _id_recreate as jni$_.JMethodIDPtr).check(); } static final _id_finish = _class.instanceMethodId( @@ -20964,21 +22132,21 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _finish = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _finish = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void finish()` void finish() { - _finish(reference.pointer, _id_finish as _$jni.JMethodIDPtr).check(); + _finish(reference.pointer, _id_finish as jni$_.JMethodIDPtr).check(); } static final _id_finishAffinity = _class.instanceMethodId( @@ -20986,21 +22154,21 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _finishAffinity = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _finishAffinity = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void finishAffinity()` void finishAffinity() { - _finishAffinity(reference.pointer, _id_finishAffinity as _$jni.JMethodIDPtr) + _finishAffinity(reference.pointer, _id_finishAffinity as jni$_.JMethodIDPtr) .check(); } @@ -21009,25 +22177,24 @@ class Activity extends _$jni.JObject { r'(Landroid/app/Activity;)V', ); - static final _finishFromChild = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _finishFromChild = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void finishFromChild(android.app.Activity activity)` void finishFromChild( - Activity activity, + Activity? activity, ) { - _finishFromChild( - reference.pointer, - _id_finishFromChild as _$jni.JMethodIDPtr, - activity.reference.pointer) + final _$activity = activity?.reference ?? jni$_.jNullReference; + _finishFromChild(reference.pointer, + _id_finishFromChild as jni$_.JMethodIDPtr, _$activity.pointer) .check(); } @@ -21036,22 +22203,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _finishAfterTransition = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _finishAfterTransition = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void finishAfterTransition()` void finishAfterTransition() { _finishAfterTransition( - reference.pointer, _id_finishAfterTransition as _$jni.JMethodIDPtr) + reference.pointer, _id_finishAfterTransition as jni$_.JMethodIDPtr) .check(); } @@ -21060,22 +22227,22 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _finishActivity = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _finishActivity = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void finishActivity(int i)` void finishActivity( int i, ) { _finishActivity( - reference.pointer, _id_finishActivity as _$jni.JMethodIDPtr, i) + reference.pointer, _id_finishActivity as jni$_.JMethodIDPtr, i) .check(); } @@ -21084,27 +22251,28 @@ class Activity extends _$jni.JObject { r'(Landroid/app/Activity;I)V', ); - static final _finishActivityFromChild = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _finishActivityFromChild = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public void finishActivityFromChild(android.app.Activity activity, int i)` void finishActivityFromChild( - Activity activity, + Activity? activity, int i, ) { + final _$activity = activity?.reference ?? jni$_.jNullReference; _finishActivityFromChild( reference.pointer, - _id_finishActivityFromChild as _$jni.JMethodIDPtr, - activity.reference.pointer, + _id_finishActivityFromChild as jni$_.JMethodIDPtr, + _$activity.pointer, i) .check(); } @@ -21114,22 +22282,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _finishAndRemoveTask = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _finishAndRemoveTask = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void finishAndRemoveTask()` void finishAndRemoveTask() { _finishAndRemoveTask( - reference.pointer, _id_finishAndRemoveTask as _$jni.JMethodIDPtr) + reference.pointer, _id_finishAndRemoveTask as jni$_.JMethodIDPtr) .check(); } @@ -21138,22 +22306,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _releaseInstance = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _releaseInstance = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean releaseInstance()` bool releaseInstance() { return _releaseInstance( - reference.pointer, _id_releaseInstance as _$jni.JMethodIDPtr) + reference.pointer, _id_releaseInstance as jni$_.JMethodIDPtr) .boolean; } @@ -21162,28 +22330,26 @@ class Activity extends _$jni.JObject { r'(ILandroid/content/Intent;)V', ); - static final _onActivityReenter = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _onActivityReenter = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public void onActivityReenter(int i, android.content.Intent intent)` void onActivityReenter( int i, - Intent intent, + Intent? intent, ) { - _onActivityReenter( - reference.pointer, - _id_onActivityReenter as _$jni.JMethodIDPtr, - i, - intent.reference.pointer) + final _$intent = intent?.reference ?? jni$_.jNullReference; + _onActivityReenter(reference.pointer, + _id_onActivityReenter as jni$_.JMethodIDPtr, i, _$intent.pointer) .check(); } @@ -21192,35 +22358,36 @@ class Activity extends _$jni.JObject { r'(ILandroid/content/Intent;I)Landroid/app/PendingIntent;', ); - static final _createPendingResult = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _createPendingResult = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer, int)>(); /// from: `public android.app.PendingIntent createPendingResult(int i, android.content.Intent intent, int i1)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject createPendingResult( + jni$_.JObject? createPendingResult( int i, - Intent intent, + Intent? intent, int i1, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; return _createPendingResult( reference.pointer, - _id_createPendingResult as _$jni.JMethodIDPtr, + _id_createPendingResult as jni$_.JMethodIDPtr, i, - intent.reference.pointer, + _$intent.pointer, i1) - .object(const _$jni.JObjectType()); + .object(const jni$_.JObjectNullableType()); } static final _id_setRequestedOrientation = _class.instanceMethodId( @@ -21228,22 +22395,22 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _setRequestedOrientation = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setRequestedOrientation = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void setRequestedOrientation(int i)` void setRequestedOrientation( int i, ) { _setRequestedOrientation(reference.pointer, - _id_setRequestedOrientation as _$jni.JMethodIDPtr, i) + _id_setRequestedOrientation as jni$_.JMethodIDPtr, i) .check(); } @@ -21252,22 +22419,22 @@ class Activity extends _$jni.JObject { r'()I', ); - static final _getRequestedOrientation = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getRequestedOrientation = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int getRequestedOrientation()` int getRequestedOrientation() { return _getRequestedOrientation(reference.pointer, - _id_getRequestedOrientation as _$jni.JMethodIDPtr) + _id_getRequestedOrientation as jni$_.JMethodIDPtr) .integer; } @@ -21276,21 +22443,21 @@ class Activity extends _$jni.JObject { r'()I', ); - static final _getTaskId = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getTaskId = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int getTaskId()` int getTaskId() { - return _getTaskId(reference.pointer, _id_getTaskId as _$jni.JMethodIDPtr) + return _getTaskId(reference.pointer, _id_getTaskId as jni$_.JMethodIDPtr) .integer; } @@ -21299,21 +22466,21 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _isTaskRoot = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isTaskRoot = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isTaskRoot()` bool isTaskRoot() { - return _isTaskRoot(reference.pointer, _id_isTaskRoot as _$jni.JMethodIDPtr) + return _isTaskRoot(reference.pointer, _id_isTaskRoot as jni$_.JMethodIDPtr) .boolean; } @@ -21322,23 +22489,23 @@ class Activity extends _$jni.JObject { r'(Z)Z', ); - static final _moveTaskToBack = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallBooleanMethod') + static final _moveTaskToBack = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public boolean moveTaskToBack(boolean z)` bool moveTaskToBack( bool z, ) { return _moveTaskToBack(reference.pointer, - _id_moveTaskToBack as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_moveTaskToBack as jni$_.JMethodIDPtr, z ? 1 : 0) .boolean; } @@ -21347,24 +22514,24 @@ class Activity extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _getLocalClassName = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getLocalClassName = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String getLocalClassName()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getLocalClassName() { + jni$_.JString? getLocalClassName() { return _getLocalClassName( - reference.pointer, _id_getLocalClassName as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + reference.pointer, _id_getLocalClassName as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } static final _id_getComponentName = _class.instanceMethodId( @@ -21372,24 +22539,24 @@ class Activity extends _$jni.JObject { r'()Landroid/content/ComponentName;', ); - static final _getComponentName = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getComponentName = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.content.ComponentName getComponentName()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getComponentName() { + jni$_.JObject? getComponentName() { return _getComponentName( - reference.pointer, _id_getComponentName as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getComponentName as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getPreferences = _class.instanceMethodId( @@ -21397,24 +22564,24 @@ class Activity extends _$jni.JObject { r'(I)Landroid/content/SharedPreferences;', ); - static final _getPreferences = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') + static final _getPreferences = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public android.content.SharedPreferences getPreferences(int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getPreferences( + jni$_.JObject? getPreferences( int i, ) { return _getPreferences( - reference.pointer, _id_getPreferences as _$jni.JMethodIDPtr, i) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getPreferences as jni$_.JMethodIDPtr, i) + .object(const jni$_.JObjectNullableType()); } static final _id_isLaunchedFromBubble = _class.instanceMethodId( @@ -21422,22 +22589,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _isLaunchedFromBubble = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isLaunchedFromBubble = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isLaunchedFromBubble()` bool isLaunchedFromBubble() { return _isLaunchedFromBubble( - reference.pointer, _id_isLaunchedFromBubble as _$jni.JMethodIDPtr) + reference.pointer, _id_isLaunchedFromBubble as jni$_.JMethodIDPtr) .boolean; } @@ -21446,27 +22613,26 @@ class Activity extends _$jni.JObject { r'(Ljava/lang/String;)Ljava/lang/Object;', ); - static final _getSystemService = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getSystemService = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.lang.Object getSystemService(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getSystemService( - _$jni.JString string, + jni$_.JObject? getSystemService( + jni$_.JString? string, ) { - return _getSystemService( - reference.pointer, - _id_getSystemService as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const _$jni.JObjectType()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _getSystemService(reference.pointer, + _id_getSystemService as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_setTitle = _class.instanceMethodId( @@ -21474,23 +22640,24 @@ class Activity extends _$jni.JObject { r'(Ljava/lang/CharSequence;)V', ); - static final _setTitle = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setTitle = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void setTitle(java.lang.CharSequence charSequence)` void setTitle( - _$jni.JObject charSequence, + jni$_.JObject? charSequence, ) { - _setTitle(reference.pointer, _id_setTitle as _$jni.JMethodIDPtr, - charSequence.reference.pointer) + final _$charSequence = charSequence?.reference ?? jni$_.jNullReference; + _setTitle(reference.pointer, _id_setTitle as jni$_.JMethodIDPtr, + _$charSequence.pointer) .check(); } @@ -21499,21 +22666,21 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _setTitle$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setTitle$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void setTitle(int i)` void setTitle$1( int i, ) { - _setTitle$1(reference.pointer, _id_setTitle$1 as _$jni.JMethodIDPtr, i) + _setTitle$1(reference.pointer, _id_setTitle$1 as jni$_.JMethodIDPtr, i) .check(); } @@ -21522,22 +22689,22 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _setTitleColor = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setTitleColor = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void setTitleColor(int i)` void setTitleColor( int i, ) { _setTitleColor( - reference.pointer, _id_setTitleColor as _$jni.JMethodIDPtr, i) + reference.pointer, _id_setTitleColor as jni$_.JMethodIDPtr, i) .check(); } @@ -21546,23 +22713,23 @@ class Activity extends _$jni.JObject { r'()Ljava/lang/CharSequence;', ); - static final _getTitle = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getTitle = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final java.lang.CharSequence getTitle()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getTitle() { - return _getTitle(reference.pointer, _id_getTitle as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + jni$_.JObject? getTitle() { + return _getTitle(reference.pointer, _id_getTitle as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_getTitleColor = _class.instanceMethodId( @@ -21570,22 +22737,22 @@ class Activity extends _$jni.JObject { r'()I', ); - static final _getTitleColor = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getTitleColor = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final int getTitleColor()` int getTitleColor() { return _getTitleColor( - reference.pointer, _id_getTitleColor as _$jni.JMethodIDPtr) + reference.pointer, _id_getTitleColor as jni$_.JMethodIDPtr) .integer; } @@ -21594,25 +22761,27 @@ class Activity extends _$jni.JObject { r'(Landroid/app/ActivityManager$TaskDescription;)V', ); - static final _setTaskDescription = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setTaskDescription = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void setTaskDescription(android.app.ActivityManager$TaskDescription taskDescription)` void setTaskDescription( - _$jni.JObject taskDescription, + jni$_.JObject? taskDescription, ) { + final _$taskDescription = + taskDescription?.reference ?? jni$_.jNullReference; _setTaskDescription( reference.pointer, - _id_setTaskDescription as _$jni.JMethodIDPtr, - taskDescription.reference.pointer) + _id_setTaskDescription as jni$_.JMethodIDPtr, + _$taskDescription.pointer) .check(); } @@ -21621,22 +22790,22 @@ class Activity extends _$jni.JObject { r'(Z)V', ); - static final _setProgressBarVisibility = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setProgressBarVisibility = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final void setProgressBarVisibility(boolean z)` void setProgressBarVisibility( bool z, ) { _setProgressBarVisibility(reference.pointer, - _id_setProgressBarVisibility as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_setProgressBarVisibility as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -21647,14 +22816,14 @@ class Activity extends _$jni.JObject { ); static final _setProgressBarIndeterminateVisibility = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int32,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final void setProgressBarIndeterminateVisibility(boolean z)` void setProgressBarIndeterminateVisibility( @@ -21662,7 +22831,7 @@ class Activity extends _$jni.JObject { ) { _setProgressBarIndeterminateVisibility( reference.pointer, - _id_setProgressBarIndeterminateVisibility as _$jni.JMethodIDPtr, + _id_setProgressBarIndeterminateVisibility as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -21673,21 +22842,21 @@ class Activity extends _$jni.JObject { ); static final _setProgressBarIndeterminate = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int32,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final void setProgressBarIndeterminate(boolean z)` void setProgressBarIndeterminate( bool z, ) { _setProgressBarIndeterminate(reference.pointer, - _id_setProgressBarIndeterminate as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_setProgressBarIndeterminate as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -21696,21 +22865,21 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _setProgress = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setProgress = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final void setProgress(int i)` void setProgress( int i, ) { - _setProgress(reference.pointer, _id_setProgress as _$jni.JMethodIDPtr, i) + _setProgress(reference.pointer, _id_setProgress as jni$_.JMethodIDPtr, i) .check(); } @@ -21719,22 +22888,22 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _setSecondaryProgress = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setSecondaryProgress = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final void setSecondaryProgress(int i)` void setSecondaryProgress( int i, ) { _setSecondaryProgress(reference.pointer, - _id_setSecondaryProgress as _$jni.JMethodIDPtr, i) + _id_setSecondaryProgress as jni$_.JMethodIDPtr, i) .check(); } @@ -21743,22 +22912,22 @@ class Activity extends _$jni.JObject { r'(I)V', ); - static final _setVolumeControlStream = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setVolumeControlStream = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public final void setVolumeControlStream(int i)` void setVolumeControlStream( int i, ) { _setVolumeControlStream(reference.pointer, - _id_setVolumeControlStream as _$jni.JMethodIDPtr, i) + _id_setVolumeControlStream as jni$_.JMethodIDPtr, i) .check(); } @@ -21767,22 +22936,22 @@ class Activity extends _$jni.JObject { r'()I', ); - static final _getVolumeControlStream = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getVolumeControlStream = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final int getVolumeControlStream()` int getVolumeControlStream() { return _getVolumeControlStream( - reference.pointer, _id_getVolumeControlStream as _$jni.JMethodIDPtr) + reference.pointer, _id_getVolumeControlStream as jni$_.JMethodIDPtr) .integer; } @@ -21791,25 +22960,27 @@ class Activity extends _$jni.JObject { r'(Landroid/media/session/MediaController;)V', ); - static final _setMediaController = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _setMediaController = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final void setMediaController(android.media.session.MediaController mediaController)` void setMediaController( - _$jni.JObject mediaController, + jni$_.JObject? mediaController, ) { + final _$mediaController = + mediaController?.reference ?? jni$_.jNullReference; _setMediaController( reference.pointer, - _id_setMediaController as _$jni.JMethodIDPtr, - mediaController.reference.pointer) + _id_setMediaController as jni$_.JMethodIDPtr, + _$mediaController.pointer) .check(); } @@ -21818,24 +22989,24 @@ class Activity extends _$jni.JObject { r'()Landroid/media/session/MediaController;', ); - static final _getMediaController = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getMediaController = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final android.media.session.MediaController getMediaController()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getMediaController() { + jni$_.JObject? getMediaController() { return _getMediaController( - reference.pointer, _id_getMediaController as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + reference.pointer, _id_getMediaController as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } static final _id_runOnUiThread = _class.instanceMethodId( @@ -21843,23 +23014,24 @@ class Activity extends _$jni.JObject { r'(Ljava/lang/Runnable;)V', ); - static final _runOnUiThread = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _runOnUiThread = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final void runOnUiThread(java.lang.Runnable runnable)` void runOnUiThread( - _$jni.JObject runnable, + jni$_.JObject? runnable, ) { - _runOnUiThread(reference.pointer, _id_runOnUiThread as _$jni.JMethodIDPtr, - runnable.reference.pointer) + final _$runnable = runnable?.reference ?? jni$_.jNullReference; + _runOnUiThread(reference.pointer, _id_runOnUiThread as jni$_.JMethodIDPtr, + _$runnable.pointer) .check(); } @@ -21868,39 +23040,42 @@ class Activity extends _$jni.JObject { r'(Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;', ); - static final _onCreateView = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _onCreateView = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.view.View onCreateView(java.lang.String string, android.content.Context context, android.util.AttributeSet attributeSet)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject onCreateView( - _$jni.JString string, - Context context, - _$jni.JObject attributeSet, + jni$_.JObject? onCreateView( + jni$_.JString? string, + Context? context, + jni$_.JObject? attributeSet, ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$context = context?.reference ?? jni$_.jNullReference; + final _$attributeSet = attributeSet?.reference ?? jni$_.jNullReference; return _onCreateView( reference.pointer, - _id_onCreateView as _$jni.JMethodIDPtr, - string.reference.pointer, - context.reference.pointer, - attributeSet.reference.pointer) - .object(const _$jni.JObjectType()); + _id_onCreateView as jni$_.JMethodIDPtr, + _$string.pointer, + _$context.pointer, + _$attributeSet.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_onCreateView$1 = _class.instanceMethodId( @@ -21908,43 +23083,47 @@ class Activity extends _$jni.JObject { r'(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;', ); - static final _onCreateView$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _onCreateView$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public android.view.View onCreateView(android.view.View view, java.lang.String string, android.content.Context context, android.util.AttributeSet attributeSet)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject onCreateView$1( - _$jni.JObject view, - _$jni.JString string, - Context context, - _$jni.JObject attributeSet, + jni$_.JObject? onCreateView$1( + jni$_.JObject? view, + jni$_.JString? string, + Context? context, + jni$_.JObject? attributeSet, ) { + final _$view = view?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$context = context?.reference ?? jni$_.jNullReference; + final _$attributeSet = attributeSet?.reference ?? jni$_.jNullReference; return _onCreateView$1( reference.pointer, - _id_onCreateView$1 as _$jni.JMethodIDPtr, - view.reference.pointer, - string.reference.pointer, - context.reference.pointer, - attributeSet.reference.pointer) - .object(const _$jni.JObjectType()); + _id_onCreateView$1 as jni$_.JMethodIDPtr, + _$view.pointer, + _$string.pointer, + _$context.pointer, + _$attributeSet.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_dump = _class.instanceMethodId( @@ -21952,41 +23131,40 @@ class Activity extends _$jni.JObject { r'(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V', ); - static final _dump = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _dump = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void dump(java.lang.String string, java.io.FileDescriptor fileDescriptor, java.io.PrintWriter printWriter, java.lang.String[] strings)` void dump( - _$jni.JString string, - _$jni.JObject fileDescriptor, - _$jni.JObject printWriter, - _$jni.JArray<_$jni.JString> strings, - ) { - _dump( - reference.pointer, - _id_dump as _$jni.JMethodIDPtr, - string.reference.pointer, - fileDescriptor.reference.pointer, - printWriter.reference.pointer, - strings.reference.pointer) + jni$_.JString? string, + jni$_.JObject? fileDescriptor, + jni$_.JObject? printWriter, + jni$_.JArray? strings, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$fileDescriptor = fileDescriptor?.reference ?? jni$_.jNullReference; + final _$printWriter = printWriter?.reference ?? jni$_.jNullReference; + final _$strings = strings?.reference ?? jni$_.jNullReference; + _dump(reference.pointer, _id_dump as jni$_.JMethodIDPtr, _$string.pointer, + _$fileDescriptor.pointer, _$printWriter.pointer, _$strings.pointer) .check(); } @@ -21995,22 +23173,22 @@ class Activity extends _$jni.JObject { r'()Z', ); - static final _isImmersive = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _isImmersive = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public boolean isImmersive()` bool isImmersive() { return _isImmersive( - reference.pointer, _id_isImmersive as _$jni.JMethodIDPtr) + reference.pointer, _id_isImmersive as jni$_.JMethodIDPtr) .boolean; } @@ -22019,23 +23197,23 @@ class Activity extends _$jni.JObject { r'(Z)Z', ); - static final _setTranslucent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallBooleanMethod') + static final _setTranslucent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public boolean setTranslucent(boolean z)` bool setTranslucent( bool z, ) { return _setTranslucent(reference.pointer, - _id_setTranslucent as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_setTranslucent as jni$_.JMethodIDPtr, z ? 1 : 0) .boolean; } @@ -22044,23 +23222,23 @@ class Activity extends _$jni.JObject { r'(Z)Z', ); - static final _requestVisibleBehind = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallBooleanMethod') + static final _requestVisibleBehind = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public boolean requestVisibleBehind(boolean z)` bool requestVisibleBehind( bool z, ) { return _requestVisibleBehind(reference.pointer, - _id_requestVisibleBehind as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_requestVisibleBehind as jni$_.JMethodIDPtr, z ? 1 : 0) .boolean; } @@ -22069,22 +23247,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _onVisibleBehindCanceled = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _onVisibleBehindCanceled = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void onVisibleBehindCanceled()` void onVisibleBehindCanceled() { _onVisibleBehindCanceled(reference.pointer, - _id_onVisibleBehindCanceled as _$jni.JMethodIDPtr) + _id_onVisibleBehindCanceled as jni$_.JMethodIDPtr) .check(); } @@ -22093,22 +23271,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _onEnterAnimationComplete = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _onEnterAnimationComplete = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void onEnterAnimationComplete()` void onEnterAnimationComplete() { _onEnterAnimationComplete(reference.pointer, - _id_onEnterAnimationComplete as _$jni.JMethodIDPtr) + _id_onEnterAnimationComplete as jni$_.JMethodIDPtr) .check(); } @@ -22117,21 +23295,21 @@ class Activity extends _$jni.JObject { r'(Z)V', ); - static final _setImmersive = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setImmersive = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void setImmersive(boolean z)` void setImmersive( bool z, ) { - _setImmersive(reference.pointer, _id_setImmersive as _$jni.JMethodIDPtr, + _setImmersive(reference.pointer, _id_setImmersive as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -22141,28 +23319,29 @@ class Activity extends _$jni.JObject { r'(ZLandroid/content/ComponentName;)V', ); - static final _setVrModeEnabled = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + static final _setVrModeEnabled = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public void setVrModeEnabled(boolean z, android.content.ComponentName componentName)` void setVrModeEnabled( bool z, - _$jni.JObject componentName, + jni$_.JObject? componentName, ) { + final _$componentName = componentName?.reference ?? jni$_.jNullReference; _setVrModeEnabled( reference.pointer, - _id_setVrModeEnabled as _$jni.JMethodIDPtr, + _id_setVrModeEnabled as jni$_.JMethodIDPtr, z ? 1 : 0, - componentName.reference.pointer) + _$componentName.pointer) .check(); } @@ -22171,27 +23350,26 @@ class Activity extends _$jni.JObject { r'(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;', ); - static final _startActionMode = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _startActionMode = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.view.ActionMode startActionMode(android.view.ActionMode$Callback callback)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject startActionMode( - _$jni.JObject callback, + jni$_.JObject? startActionMode( + jni$_.JObject? callback, ) { - return _startActionMode( - reference.pointer, - _id_startActionMode as _$jni.JMethodIDPtr, - callback.reference.pointer) - .object(const _$jni.JObjectType()); + final _$callback = callback?.reference ?? jni$_.jNullReference; + return _startActionMode(reference.pointer, + _id_startActionMode as jni$_.JMethodIDPtr, _$callback.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_startActionMode$1 = _class.instanceMethodId( @@ -22199,30 +23377,28 @@ class Activity extends _$jni.JObject { r'(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;', ); - static final _startActionMode$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + static final _startActionMode$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public android.view.ActionMode startActionMode(android.view.ActionMode$Callback callback, int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject startActionMode$1( - _$jni.JObject callback, + jni$_.JObject? startActionMode$1( + jni$_.JObject? callback, int i, ) { - return _startActionMode$1( - reference.pointer, - _id_startActionMode$1 as _$jni.JMethodIDPtr, - callback.reference.pointer, - i) - .object(const _$jni.JObjectType()); + final _$callback = callback?.reference ?? jni$_.jNullReference; + return _startActionMode$1(reference.pointer, + _id_startActionMode$1 as jni$_.JMethodIDPtr, _$callback.pointer, i) + .object(const jni$_.JObjectNullableType()); } static final _id_onWindowStartingActionMode = _class.instanceMethodId( @@ -22231,27 +23407,28 @@ class Activity extends _$jni.JObject { ); static final _onWindowStartingActionMode = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode$Callback callback)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject onWindowStartingActionMode( - _$jni.JObject callback, + jni$_.JObject? onWindowStartingActionMode( + jni$_.JObject? callback, ) { + final _$callback = callback?.reference ?? jni$_.jNullReference; return _onWindowStartingActionMode( reference.pointer, - _id_onWindowStartingActionMode as _$jni.JMethodIDPtr, - callback.reference.pointer) - .object(const _$jni.JObjectType()); + _id_onWindowStartingActionMode as jni$_.JMethodIDPtr, + _$callback.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_onWindowStartingActionMode$1 = _class.instanceMethodId( @@ -22260,32 +23437,33 @@ class Activity extends _$jni.JObject { ); static final _onWindowStartingActionMode$1 = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Int32 + jni$_.Pointer, + jni$_.Int32 )>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode$Callback callback, int i)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject onWindowStartingActionMode$1( - _$jni.JObject callback, + jni$_.JObject? onWindowStartingActionMode$1( + jni$_.JObject? callback, int i, ) { + final _$callback = callback?.reference ?? jni$_.jNullReference; return _onWindowStartingActionMode$1( reference.pointer, - _id_onWindowStartingActionMode$1 as _$jni.JMethodIDPtr, - callback.reference.pointer, + _id_onWindowStartingActionMode$1 as jni$_.JMethodIDPtr, + _$callback.pointer, i) - .object(const _$jni.JObjectType()); + .object(const jni$_.JObjectNullableType()); } static final _id_onActionModeStarted = _class.instanceMethodId( @@ -22293,25 +23471,24 @@ class Activity extends _$jni.JObject { r'(Landroid/view/ActionMode;)V', ); - static final _onActionModeStarted = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onActionModeStarted = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void onActionModeStarted(android.view.ActionMode actionMode)` void onActionModeStarted( - _$jni.JObject actionMode, + jni$_.JObject? actionMode, ) { - _onActionModeStarted( - reference.pointer, - _id_onActionModeStarted as _$jni.JMethodIDPtr, - actionMode.reference.pointer) + final _$actionMode = actionMode?.reference ?? jni$_.jNullReference; + _onActionModeStarted(reference.pointer, + _id_onActionModeStarted as jni$_.JMethodIDPtr, _$actionMode.pointer) .check(); } @@ -22320,25 +23497,26 @@ class Activity extends _$jni.JObject { r'(Landroid/view/ActionMode;)V', ); - static final _onActionModeFinished = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _onActionModeFinished = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void onActionModeFinished(android.view.ActionMode actionMode)` void onActionModeFinished( - _$jni.JObject actionMode, + jni$_.JObject? actionMode, ) { + final _$actionMode = actionMode?.reference ?? jni$_.jNullReference; _onActionModeFinished( reference.pointer, - _id_onActionModeFinished as _$jni.JMethodIDPtr, - actionMode.reference.pointer) + _id_onActionModeFinished as jni$_.JMethodIDPtr, + _$actionMode.pointer) .check(); } @@ -22347,25 +23525,24 @@ class Activity extends _$jni.JObject { r'(Landroid/content/Intent;)Z', ); - static final _shouldUpRecreateTask = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _shouldUpRecreateTask = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean shouldUpRecreateTask(android.content.Intent intent)` bool shouldUpRecreateTask( - Intent intent, + Intent? intent, ) { - return _shouldUpRecreateTask( - reference.pointer, - _id_shouldUpRecreateTask as _$jni.JMethodIDPtr, - intent.reference.pointer) + final _$intent = intent?.reference ?? jni$_.jNullReference; + return _shouldUpRecreateTask(reference.pointer, + _id_shouldUpRecreateTask as jni$_.JMethodIDPtr, _$intent.pointer) .boolean; } @@ -22374,23 +23551,24 @@ class Activity extends _$jni.JObject { r'(Landroid/content/Intent;)Z', ); - static final _navigateUpTo = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _navigateUpTo = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean navigateUpTo(android.content.Intent intent)` bool navigateUpTo( - Intent intent, + Intent? intent, ) { + final _$intent = intent?.reference ?? jni$_.jNullReference; return _navigateUpTo(reference.pointer, - _id_navigateUpTo as _$jni.JMethodIDPtr, intent.reference.pointer) + _id_navigateUpTo as jni$_.JMethodIDPtr, _$intent.pointer) .boolean; } @@ -22399,33 +23577,35 @@ class Activity extends _$jni.JObject { r'(Landroid/app/Activity;Landroid/content/Intent;)Z', ); - static final _navigateUpToFromChild = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _navigateUpToFromChild = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public boolean navigateUpToFromChild(android.app.Activity activity, android.content.Intent intent)` bool navigateUpToFromChild( - Activity activity, - Intent intent, + Activity? activity, + Intent? intent, ) { + final _$activity = activity?.reference ?? jni$_.jNullReference; + final _$intent = intent?.reference ?? jni$_.jNullReference; return _navigateUpToFromChild( reference.pointer, - _id_navigateUpToFromChild as _$jni.JMethodIDPtr, - activity.reference.pointer, - intent.reference.pointer) + _id_navigateUpToFromChild as jni$_.JMethodIDPtr, + _$activity.pointer, + _$intent.pointer) .boolean; } @@ -22434,24 +23614,24 @@ class Activity extends _$jni.JObject { r'()Landroid/content/Intent;', ); - static final _getParentActivityIntent = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getParentActivityIntent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.content.Intent getParentActivityIntent()` /// The returned object must be released after use, by calling the [release] method. - Intent getParentActivityIntent() { + Intent? getParentActivityIntent() { return _getParentActivityIntent(reference.pointer, - _id_getParentActivityIntent as _$jni.JMethodIDPtr) - .object(const $Intent$Type()); + _id_getParentActivityIntent as jni$_.JMethodIDPtr) + .object(const $Intent$NullableType()); } static final _id_setEnterSharedElementCallback = _class.instanceMethodId( @@ -22460,25 +23640,27 @@ class Activity extends _$jni.JObject { ); static final _setEnterSharedElementCallback = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void setEnterSharedElementCallback(android.app.SharedElementCallback sharedElementCallback)` void setEnterSharedElementCallback( - _$jni.JObject sharedElementCallback, + jni$_.JObject? sharedElementCallback, ) { + final _$sharedElementCallback = + sharedElementCallback?.reference ?? jni$_.jNullReference; _setEnterSharedElementCallback( reference.pointer, - _id_setEnterSharedElementCallback as _$jni.JMethodIDPtr, - sharedElementCallback.reference.pointer) + _id_setEnterSharedElementCallback as jni$_.JMethodIDPtr, + _$sharedElementCallback.pointer) .check(); } @@ -22488,25 +23670,27 @@ class Activity extends _$jni.JObject { ); static final _setExitSharedElementCallback = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public void setExitSharedElementCallback(android.app.SharedElementCallback sharedElementCallback)` void setExitSharedElementCallback( - _$jni.JObject sharedElementCallback, + jni$_.JObject? sharedElementCallback, ) { + final _$sharedElementCallback = + sharedElementCallback?.reference ?? jni$_.jNullReference; _setExitSharedElementCallback( reference.pointer, - _id_setExitSharedElementCallback as _$jni.JMethodIDPtr, - sharedElementCallback.reference.pointer) + _id_setExitSharedElementCallback as jni$_.JMethodIDPtr, + _$sharedElementCallback.pointer) .check(); } @@ -22515,22 +23699,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _postponeEnterTransition = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _postponeEnterTransition = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void postponeEnterTransition()` void postponeEnterTransition() { _postponeEnterTransition(reference.pointer, - _id_postponeEnterTransition as _$jni.JMethodIDPtr) + _id_postponeEnterTransition as jni$_.JMethodIDPtr) .check(); } @@ -22540,22 +23724,22 @@ class Activity extends _$jni.JObject { ); static final _startPostponedEnterTransition = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void startPostponedEnterTransition()` void startPostponedEnterTransition() { _startPostponedEnterTransition(reference.pointer, - _id_startPostponedEnterTransition as _$jni.JMethodIDPtr) + _id_startPostponedEnterTransition as jni$_.JMethodIDPtr) .check(); } @@ -22565,27 +23749,28 @@ class Activity extends _$jni.JObject { ); static final _requestDragAndDropPermissions = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public android.view.DragAndDropPermissions requestDragAndDropPermissions(android.view.DragEvent dragEvent)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject requestDragAndDropPermissions( - _$jni.JObject dragEvent, + jni$_.JObject? requestDragAndDropPermissions( + jni$_.JObject? dragEvent, ) { + final _$dragEvent = dragEvent?.reference ?? jni$_.jNullReference; return _requestDragAndDropPermissions( reference.pointer, - _id_requestDragAndDropPermissions as _$jni.JMethodIDPtr, - dragEvent.reference.pointer) - .object(const _$jni.JObjectType()); + _id_requestDragAndDropPermissions as jni$_.JMethodIDPtr, + _$dragEvent.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_startLockTask = _class.instanceMethodId( @@ -22593,21 +23778,21 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _startLockTask = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _startLockTask = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void startLockTask()` void startLockTask() { - _startLockTask(reference.pointer, _id_startLockTask as _$jni.JMethodIDPtr) + _startLockTask(reference.pointer, _id_startLockTask as jni$_.JMethodIDPtr) .check(); } @@ -22616,21 +23801,21 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _stopLockTask = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _stopLockTask = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void stopLockTask()` void stopLockTask() { - _stopLockTask(reference.pointer, _id_stopLockTask as _$jni.JMethodIDPtr) + _stopLockTask(reference.pointer, _id_stopLockTask as jni$_.JMethodIDPtr) .check(); } @@ -22639,22 +23824,22 @@ class Activity extends _$jni.JObject { r'()V', ); - static final _showLockTaskEscapeMessage = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _showLockTaskEscapeMessage = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public void showLockTaskEscapeMessage()` void showLockTaskEscapeMessage() { _showLockTaskEscapeMessage(reference.pointer, - _id_showLockTaskEscapeMessage as _$jni.JMethodIDPtr) + _id_showLockTaskEscapeMessage as jni$_.JMethodIDPtr) .check(); } @@ -22664,21 +23849,21 @@ class Activity extends _$jni.JObject { ); static final _setRecentsScreenshotEnabled = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int32,)>)>>( + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( 'globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void setRecentsScreenshotEnabled(boolean z)` void setRecentsScreenshotEnabled( bool z, ) { _setRecentsScreenshotEnabled(reference.pointer, - _id_setRecentsScreenshotEnabled as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_setRecentsScreenshotEnabled as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -22687,22 +23872,22 @@ class Activity extends _$jni.JObject { r'(Z)V', ); - static final _setShowWhenLocked = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setShowWhenLocked = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void setShowWhenLocked(boolean z)` void setShowWhenLocked( bool z, ) { _setShowWhenLocked(reference.pointer, - _id_setShowWhenLocked as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_setShowWhenLocked as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -22711,22 +23896,22 @@ class Activity extends _$jni.JObject { r'(Z)V', ); - static final _setInheritShowWhenLocked = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setInheritShowWhenLocked = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void setInheritShowWhenLocked(boolean z)` void setInheritShowWhenLocked( bool z, ) { _setInheritShowWhenLocked(reference.pointer, - _id_setInheritShowWhenLocked as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_setInheritShowWhenLocked as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -22735,22 +23920,22 @@ class Activity extends _$jni.JObject { r'(Z)V', ); - static final _setTurnScreenOn = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _setTurnScreenOn = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - _$jni.JThrowablePtr Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public void setTurnScreenOn(boolean z)` void setTurnScreenOn( bool z, ) { _setTurnScreenOn(reference.pointer, - _id_setTurnScreenOn as _$jni.JMethodIDPtr, z ? 1 : 0) + _id_setTurnScreenOn as jni$_.JMethodIDPtr, z ? 1 : 0) .check(); } @@ -22760,72 +23945,114 @@ class Activity extends _$jni.JObject { ); static final _getOnBackInvokedDispatcher = - _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public android.window.OnBackInvokedDispatcher getOnBackInvokedDispatcher()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject getOnBackInvokedDispatcher() { + jni$_.JObject? getOnBackInvokedDispatcher() { return _getOnBackInvokedDispatcher(reference.pointer, - _id_getOnBackInvokedDispatcher as _$jni.JMethodIDPtr) - .object(const _$jni.JObjectType()); + _id_getOnBackInvokedDispatcher as jni$_.JMethodIDPtr) + .object(const jni$_.JObjectNullableType()); } } -final class $Activity$Type extends _$jni.JObjType { - @_$jni.internal - const $Activity$Type(); +final class $Activity$NullableType extends jni$_.JObjType { + @jni$_.internal + const $Activity$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroid/app/Activity;'; - @_$jni.internal - @_$core.override - Activity fromReference(_$jni.JReference reference) => - Activity.fromReference(reference); + @jni$_.internal + @core$_.override + Activity? fromReference(jni$_.JReference reference) => reference.isNull + ? null + : Activity.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override + int get hashCode => ($Activity$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($Activity$NullableType) && + other is $Activity$NullableType; + } +} + +final class $Activity$Type extends jni$_.JObjType { + @jni$_.internal + const $Activity$Type(); + + @jni$_.internal + @core$_.override + String get signature => r'Landroid/app/Activity;'; + + @jni$_.internal + @core$_.override + Activity fromReference(jni$_.JReference reference) => Activity.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => const $Activity$NullableType(); + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override int get hashCode => ($Activity$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($Activity$Type) && other is $Activity$Type; } } /// from: `java.time.Instant` -class Instant extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; +class Instant extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; - @_$jni.internal + @jni$_.internal Instant.fromReference( - _$jni.JReference reference, + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName(r'java/time/Instant'); + static final _class = jni$_.JClass.forName(r'java/time/Instant'); /// The type which includes information such as the signature of this class. + static const nullableType = $Instant$NullableType(); static const type = $Instant$Type(); static final _id_EPOCH = _class.staticFieldId( r'EPOCH', @@ -22834,7 +24061,8 @@ class Instant extends _$jni.JObject { /// from: `static public final java.time.Instant EPOCH` /// The returned object must be released after use, by calling the [release] method. - static Instant get EPOCH => _id_EPOCH.get(_class, const $Instant$Type()); + static Instant? get EPOCH => + _id_EPOCH.get(_class, const $Instant$NullableType()); static final _id_MAX = _class.staticFieldId( r'MAX', @@ -22843,7 +24071,7 @@ class Instant extends _$jni.JObject { /// from: `static public final java.time.Instant MAX` /// The returned object must be released after use, by calling the [release] method. - static Instant get MAX => _id_MAX.get(_class, const $Instant$Type()); + static Instant? get MAX => _id_MAX.get(_class, const $Instant$NullableType()); static final _id_MIN = _class.staticFieldId( r'MIN', @@ -22852,30 +24080,30 @@ class Instant extends _$jni.JObject { /// from: `static public final java.time.Instant MIN` /// The returned object must be released after use, by calling the [release] method. - static Instant get MIN => _id_MIN.get(_class, const $Instant$Type()); + static Instant? get MIN => _id_MIN.get(_class, const $Instant$NullableType()); static final _id_now = _class.staticMethodId( r'now', r'()Ljava/time/Instant;', ); - static final _now = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _now = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `static public java.time.Instant now()` /// The returned object must be released after use, by calling the [release] method. - static Instant now() { - return _now(_class.reference.pointer, _id_now as _$jni.JMethodIDPtr) - .object(const $Instant$Type()); + static Instant? now() { + return _now(_class.reference.pointer, _id_now as jni$_.JMethodIDPtr) + .object(const $Instant$NullableType()); } static final _id_now$1 = _class.staticMethodId( @@ -22883,25 +24111,26 @@ class Instant extends _$jni.JObject { r'(Ljava/time/Clock;)Ljava/time/Instant;', ); - static final _now$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _now$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public java.time.Instant now(java.time.Clock clock)` /// The returned object must be released after use, by calling the [release] method. - static Instant now$1( - _$jni.JObject clock, + static Instant? now$1( + jni$_.JObject? clock, ) { - return _now$1(_class.reference.pointer, _id_now$1 as _$jni.JMethodIDPtr, - clock.reference.pointer) - .object(const $Instant$Type()); + final _$clock = clock?.reference ?? jni$_.jNullReference; + return _now$1(_class.reference.pointer, _id_now$1 as jni$_.JMethodIDPtr, + _$clock.pointer) + .object(const $Instant$NullableType()); } static final _id_ofEpochSecond = _class.staticMethodId( @@ -22909,23 +24138,23 @@ class Instant extends _$jni.JObject { r'(J)Ljava/time/Instant;', ); - static final _ofEpochSecond = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int64,)>)>>( + static final _ofEpochSecond = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int64,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `static public java.time.Instant ofEpochSecond(long j)` /// The returned object must be released after use, by calling the [release] method. - static Instant ofEpochSecond( + static Instant? ofEpochSecond( int j, ) { return _ofEpochSecond(_class.reference.pointer, - _id_ofEpochSecond as _$jni.JMethodIDPtr, j) - .object(const $Instant$Type()); + _id_ofEpochSecond as jni$_.JMethodIDPtr, j) + .object(const $Instant$NullableType()); } static final _id_ofEpochSecond$1 = _class.staticMethodId( @@ -22933,26 +24162,26 @@ class Instant extends _$jni.JObject { r'(JJ)Ljava/time/Instant;', ); - static final _ofEpochSecond$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int64, _$jni.Int64)>)>>( + static final _ofEpochSecond$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64, jni$_.Int64)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int, int)>(); /// from: `static public java.time.Instant ofEpochSecond(long j, long j1)` /// The returned object must be released after use, by calling the [release] method. - static Instant ofEpochSecond$1( + static Instant? ofEpochSecond$1( int j, int j1, ) { return _ofEpochSecond$1(_class.reference.pointer, - _id_ofEpochSecond$1 as _$jni.JMethodIDPtr, j, j1) - .object(const $Instant$Type()); + _id_ofEpochSecond$1 as jni$_.JMethodIDPtr, j, j1) + .object(const $Instant$NullableType()); } static final _id_ofEpochMilli = _class.staticMethodId( @@ -22960,23 +24189,23 @@ class Instant extends _$jni.JObject { r'(J)Ljava/time/Instant;', ); - static final _ofEpochMilli = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int64,)>)>>( + static final _ofEpochMilli = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int64,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `static public java.time.Instant ofEpochMilli(long j)` /// The returned object must be released after use, by calling the [release] method. - static Instant ofEpochMilli( + static Instant? ofEpochMilli( int j, ) { return _ofEpochMilli( - _class.reference.pointer, _id_ofEpochMilli as _$jni.JMethodIDPtr, j) - .object(const $Instant$Type()); + _class.reference.pointer, _id_ofEpochMilli as jni$_.JMethodIDPtr, j) + .object(const $Instant$NullableType()); } static final _id_from = _class.staticMethodId( @@ -22984,25 +24213,27 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/TemporalAccessor;)Ljava/time/Instant;', ); - static final _from = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _from = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public java.time.Instant from(java.time.temporal.TemporalAccessor temporalAccessor)` /// The returned object must be released after use, by calling the [release] method. - static Instant from( - _$jni.JObject temporalAccessor, + static Instant? from( + jni$_.JObject? temporalAccessor, ) { - return _from(_class.reference.pointer, _id_from as _$jni.JMethodIDPtr, - temporalAccessor.reference.pointer) - .object(const $Instant$Type()); + final _$temporalAccessor = + temporalAccessor?.reference ?? jni$_.jNullReference; + return _from(_class.reference.pointer, _id_from as jni$_.JMethodIDPtr, + _$temporalAccessor.pointer) + .object(const $Instant$NullableType()); } static final _id_parse = _class.staticMethodId( @@ -23010,25 +24241,26 @@ class Instant extends _$jni.JObject { r'(Ljava/lang/CharSequence;)Ljava/time/Instant;', ); - static final _parse = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _parse = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public java.time.Instant parse(java.lang.CharSequence charSequence)` /// The returned object must be released after use, by calling the [release] method. - static Instant parse( - _$jni.JObject charSequence, + static Instant? parse( + jni$_.JObject? charSequence, ) { - return _parse(_class.reference.pointer, _id_parse as _$jni.JMethodIDPtr, - charSequence.reference.pointer) - .object(const $Instant$Type()); + final _$charSequence = charSequence?.reference ?? jni$_.jNullReference; + return _parse(_class.reference.pointer, _id_parse as jni$_.JMethodIDPtr, + _$charSequence.pointer) + .object(const $Instant$NullableType()); } static final _id_isSupported = _class.instanceMethodId( @@ -23036,25 +24268,24 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/TemporalField;)Z', ); - static final _isSupported = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _isSupported = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean isSupported(java.time.temporal.TemporalField temporalField)` bool isSupported( - _$jni.JObject temporalField, + jni$_.JObject? temporalField, ) { - return _isSupported( - reference.pointer, - _id_isSupported as _$jni.JMethodIDPtr, - temporalField.reference.pointer) + final _$temporalField = temporalField?.reference ?? jni$_.jNullReference; + return _isSupported(reference.pointer, + _id_isSupported as jni$_.JMethodIDPtr, _$temporalField.pointer) .boolean; } @@ -23063,25 +24294,24 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/TemporalUnit;)Z', ); - static final _isSupported$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _isSupported$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean isSupported(java.time.temporal.TemporalUnit temporalUnit)` bool isSupported$1( - _$jni.JObject temporalUnit, + jni$_.JObject? temporalUnit, ) { - return _isSupported$1( - reference.pointer, - _id_isSupported$1 as _$jni.JMethodIDPtr, - temporalUnit.reference.pointer) + final _$temporalUnit = temporalUnit?.reference ?? jni$_.jNullReference; + return _isSupported$1(reference.pointer, + _id_isSupported$1 as jni$_.JMethodIDPtr, _$temporalUnit.pointer) .boolean; } @@ -23090,25 +24320,26 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/TemporalField;)Ljava/time/temporal/ValueRange;', ); - static final _range = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _range = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.time.temporal.ValueRange range(java.time.temporal.TemporalField temporalField)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject range( - _$jni.JObject temporalField, + jni$_.JObject? range( + jni$_.JObject? temporalField, ) { - return _range(reference.pointer, _id_range as _$jni.JMethodIDPtr, - temporalField.reference.pointer) - .object(const _$jni.JObjectType()); + final _$temporalField = temporalField?.reference ?? jni$_.jNullReference; + return _range(reference.pointer, _id_range as jni$_.JMethodIDPtr, + _$temporalField.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_get = _class.instanceMethodId( @@ -23116,23 +24347,24 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/TemporalField;)I', ); - static final _get = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _get = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public int get(java.time.temporal.TemporalField temporalField)` int get( - _$jni.JObject temporalField, + jni$_.JObject? temporalField, ) { - return _get(reference.pointer, _id_get as _$jni.JMethodIDPtr, - temporalField.reference.pointer) + final _$temporalField = temporalField?.reference ?? jni$_.jNullReference; + return _get(reference.pointer, _id_get as jni$_.JMethodIDPtr, + _$temporalField.pointer) .integer; } @@ -23141,23 +24373,24 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/TemporalField;)J', ); - static final _getLong = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getLong = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallLongMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public long getLong(java.time.temporal.TemporalField temporalField)` int getLong( - _$jni.JObject temporalField, + jni$_.JObject? temporalField, ) { - return _getLong(reference.pointer, _id_getLong as _$jni.JMethodIDPtr, - temporalField.reference.pointer) + final _$temporalField = temporalField?.reference ?? jni$_.jNullReference; + return _getLong(reference.pointer, _id_getLong as jni$_.JMethodIDPtr, + _$temporalField.pointer) .long; } @@ -23166,22 +24399,22 @@ class Instant extends _$jni.JObject { r'()J', ); - static final _getEpochSecond = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getEpochSecond = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallLongMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public long getEpochSecond()` int getEpochSecond() { return _getEpochSecond( - reference.pointer, _id_getEpochSecond as _$jni.JMethodIDPtr) + reference.pointer, _id_getEpochSecond as jni$_.JMethodIDPtr) .long; } @@ -23190,21 +24423,21 @@ class Instant extends _$jni.JObject { r'()I', ); - static final _getNano = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getNano = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int getNano()` int getNano() { - return _getNano(reference.pointer, _id_getNano as _$jni.JMethodIDPtr) + return _getNano(reference.pointer, _id_getNano as jni$_.JMethodIDPtr) .integer; } @@ -23213,25 +24446,27 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/TemporalAdjuster;)Ljava/time/Instant;', ); - static final _with$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _with$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.time.Instant with(java.time.temporal.TemporalAdjuster temporalAdjuster)` /// The returned object must be released after use, by calling the [release] method. - Instant with$( - _$jni.JObject temporalAdjuster, + Instant? with$( + jni$_.JObject? temporalAdjuster, ) { - return _with$(reference.pointer, _id_with$ as _$jni.JMethodIDPtr, - temporalAdjuster.reference.pointer) - .object(const $Instant$Type()); + final _$temporalAdjuster = + temporalAdjuster?.reference ?? jni$_.jNullReference; + return _with$(reference.pointer, _id_with$ as jni$_.JMethodIDPtr, + _$temporalAdjuster.pointer) + .object(const $Instant$NullableType()); } static final _id_with$1 = _class.instanceMethodId( @@ -23239,27 +24474,28 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/TemporalField;J)Ljava/time/Instant;', ); - static final _with$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int64)>)>>( + static final _with$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `public java.time.Instant with(java.time.temporal.TemporalField temporalField, long j)` /// The returned object must be released after use, by calling the [release] method. - Instant with$1( - _$jni.JObject temporalField, + Instant? with$1( + jni$_.JObject? temporalField, int j, ) { - return _with$1(reference.pointer, _id_with$1 as _$jni.JMethodIDPtr, - temporalField.reference.pointer, j) - .object(const $Instant$Type()); + final _$temporalField = temporalField?.reference ?? jni$_.jNullReference; + return _with$1(reference.pointer, _id_with$1 as jni$_.JMethodIDPtr, + _$temporalField.pointer, j) + .object(const $Instant$NullableType()); } static final _id_truncatedTo = _class.instanceMethodId( @@ -23267,27 +24503,26 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/TemporalUnit;)Ljava/time/Instant;', ); - static final _truncatedTo = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _truncatedTo = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.time.Instant truncatedTo(java.time.temporal.TemporalUnit temporalUnit)` /// The returned object must be released after use, by calling the [release] method. - Instant truncatedTo( - _$jni.JObject temporalUnit, + Instant? truncatedTo( + jni$_.JObject? temporalUnit, ) { - return _truncatedTo( - reference.pointer, - _id_truncatedTo as _$jni.JMethodIDPtr, - temporalUnit.reference.pointer) - .object(const $Instant$Type()); + final _$temporalUnit = temporalUnit?.reference ?? jni$_.jNullReference; + return _truncatedTo(reference.pointer, + _id_truncatedTo as jni$_.JMethodIDPtr, _$temporalUnit.pointer) + .object(const $Instant$NullableType()); } static final _id_plus = _class.instanceMethodId( @@ -23295,25 +24530,26 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;', ); - static final _plus = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _plus = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.time.Instant plus(java.time.temporal.TemporalAmount temporalAmount)` /// The returned object must be released after use, by calling the [release] method. - Instant plus( - _$jni.JObject temporalAmount, + Instant? plus( + jni$_.JObject? temporalAmount, ) { - return _plus(reference.pointer, _id_plus as _$jni.JMethodIDPtr, - temporalAmount.reference.pointer) - .object(const $Instant$Type()); + final _$temporalAmount = temporalAmount?.reference ?? jni$_.jNullReference; + return _plus(reference.pointer, _id_plus as jni$_.JMethodIDPtr, + _$temporalAmount.pointer) + .object(const $Instant$NullableType()); } static final _id_plus$1 = _class.instanceMethodId( @@ -23321,27 +24557,28 @@ class Instant extends _$jni.JObject { r'(JLjava/time/temporal/TemporalUnit;)Ljava/time/Instant;', ); - static final _plus$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int64, _$jni.Pointer<_$jni.Void>)>)>>( + static final _plus$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int64, jni$_.Pointer)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public java.time.Instant plus(long j, java.time.temporal.TemporalUnit temporalUnit)` /// The returned object must be released after use, by calling the [release] method. - Instant plus$1( + Instant? plus$1( int j, - _$jni.JObject temporalUnit, + jni$_.JObject? temporalUnit, ) { - return _plus$1(reference.pointer, _id_plus$1 as _$jni.JMethodIDPtr, j, - temporalUnit.reference.pointer) - .object(const $Instant$Type()); + final _$temporalUnit = temporalUnit?.reference ?? jni$_.jNullReference; + return _plus$1(reference.pointer, _id_plus$1 as jni$_.JMethodIDPtr, j, + _$temporalUnit.pointer) + .object(const $Instant$NullableType()); } static final _id_plusSeconds = _class.instanceMethodId( @@ -23349,24 +24586,24 @@ class Instant extends _$jni.JObject { r'(J)Ljava/time/Instant;', ); - static final _plusSeconds = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int64,)>)>>('globalEnv_CallObjectMethod') + static final _plusSeconds = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public java.time.Instant plusSeconds(long j)` /// The returned object must be released after use, by calling the [release] method. - Instant plusSeconds( + Instant? plusSeconds( int j, ) { return _plusSeconds( - reference.pointer, _id_plusSeconds as _$jni.JMethodIDPtr, j) - .object(const $Instant$Type()); + reference.pointer, _id_plusSeconds as jni$_.JMethodIDPtr, j) + .object(const $Instant$NullableType()); } static final _id_plusMillis = _class.instanceMethodId( @@ -23374,24 +24611,24 @@ class Instant extends _$jni.JObject { r'(J)Ljava/time/Instant;', ); - static final _plusMillis = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int64,)>)>>('globalEnv_CallObjectMethod') + static final _plusMillis = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public java.time.Instant plusMillis(long j)` /// The returned object must be released after use, by calling the [release] method. - Instant plusMillis( + Instant? plusMillis( int j, ) { return _plusMillis( - reference.pointer, _id_plusMillis as _$jni.JMethodIDPtr, j) - .object(const $Instant$Type()); + reference.pointer, _id_plusMillis as jni$_.JMethodIDPtr, j) + .object(const $Instant$NullableType()); } static final _id_plusNanos = _class.instanceMethodId( @@ -23399,23 +24636,23 @@ class Instant extends _$jni.JObject { r'(J)Ljava/time/Instant;', ); - static final _plusNanos = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int64,)>)>>('globalEnv_CallObjectMethod') + static final _plusNanos = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public java.time.Instant plusNanos(long j)` /// The returned object must be released after use, by calling the [release] method. - Instant plusNanos( + Instant? plusNanos( int j, ) { - return _plusNanos(reference.pointer, _id_plusNanos as _$jni.JMethodIDPtr, j) - .object(const $Instant$Type()); + return _plusNanos(reference.pointer, _id_plusNanos as jni$_.JMethodIDPtr, j) + .object(const $Instant$NullableType()); } static final _id_minus = _class.instanceMethodId( @@ -23423,25 +24660,26 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;', ); - static final _minus = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _minus = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.time.Instant minus(java.time.temporal.TemporalAmount temporalAmount)` /// The returned object must be released after use, by calling the [release] method. - Instant minus( - _$jni.JObject temporalAmount, + Instant? minus( + jni$_.JObject? temporalAmount, ) { - return _minus(reference.pointer, _id_minus as _$jni.JMethodIDPtr, - temporalAmount.reference.pointer) - .object(const $Instant$Type()); + final _$temporalAmount = temporalAmount?.reference ?? jni$_.jNullReference; + return _minus(reference.pointer, _id_minus as jni$_.JMethodIDPtr, + _$temporalAmount.pointer) + .object(const $Instant$NullableType()); } static final _id_minus$1 = _class.instanceMethodId( @@ -23449,27 +24687,28 @@ class Instant extends _$jni.JObject { r'(JLjava/time/temporal/TemporalUnit;)Ljava/time/Instant;', ); - static final _minus$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni - .VarArgs<(_$jni.Int64, _$jni.Pointer<_$jni.Void>)>)>>( + static final _minus$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int64, jni$_.Pointer)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public java.time.Instant minus(long j, java.time.temporal.TemporalUnit temporalUnit)` /// The returned object must be released after use, by calling the [release] method. - Instant minus$1( + Instant? minus$1( int j, - _$jni.JObject temporalUnit, + jni$_.JObject? temporalUnit, ) { - return _minus$1(reference.pointer, _id_minus$1 as _$jni.JMethodIDPtr, j, - temporalUnit.reference.pointer) - .object(const $Instant$Type()); + final _$temporalUnit = temporalUnit?.reference ?? jni$_.jNullReference; + return _minus$1(reference.pointer, _id_minus$1 as jni$_.JMethodIDPtr, j, + _$temporalUnit.pointer) + .object(const $Instant$NullableType()); } static final _id_minusSeconds = _class.instanceMethodId( @@ -23477,24 +24716,24 @@ class Instant extends _$jni.JObject { r'(J)Ljava/time/Instant;', ); - static final _minusSeconds = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int64,)>)>>('globalEnv_CallObjectMethod') + static final _minusSeconds = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public java.time.Instant minusSeconds(long j)` /// The returned object must be released after use, by calling the [release] method. - Instant minusSeconds( + Instant? minusSeconds( int j, ) { return _minusSeconds( - reference.pointer, _id_minusSeconds as _$jni.JMethodIDPtr, j) - .object(const $Instant$Type()); + reference.pointer, _id_minusSeconds as jni$_.JMethodIDPtr, j) + .object(const $Instant$NullableType()); } static final _id_minusMillis = _class.instanceMethodId( @@ -23502,24 +24741,24 @@ class Instant extends _$jni.JObject { r'(J)Ljava/time/Instant;', ); - static final _minusMillis = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int64,)>)>>('globalEnv_CallObjectMethod') + static final _minusMillis = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public java.time.Instant minusMillis(long j)` /// The returned object must be released after use, by calling the [release] method. - Instant minusMillis( + Instant? minusMillis( int j, ) { return _minusMillis( - reference.pointer, _id_minusMillis as _$jni.JMethodIDPtr, j) - .object(const $Instant$Type()); + reference.pointer, _id_minusMillis as jni$_.JMethodIDPtr, j) + .object(const $Instant$NullableType()); } static final _id_minusNanos = _class.instanceMethodId( @@ -23527,24 +24766,24 @@ class Instant extends _$jni.JObject { r'(J)Ljava/time/Instant;', ); - static final _minusNanos = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Int64,)>)>>('globalEnv_CallObjectMethod') + static final _minusNanos = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); /// from: `public java.time.Instant minusNanos(long j)` /// The returned object must be released after use, by calling the [release] method. - Instant minusNanos( + Instant? minusNanos( int j, ) { return _minusNanos( - reference.pointer, _id_minusNanos as _$jni.JMethodIDPtr, j) - .object(const $Instant$Type()); + reference.pointer, _id_minusNanos as jni$_.JMethodIDPtr, j) + .object(const $Instant$NullableType()); } static final _id_query = _class.instanceMethodId( @@ -23552,26 +24791,27 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/TemporalQuery;)Ljava/lang/Object;', ); - static final _query = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _query = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public R query(java.time.temporal.TemporalQuery temporalQuery)` /// The returned object must be released after use, by calling the [release] method. - $R query<$R extends _$jni.JObject>( - _$jni.JObject temporalQuery, { - required _$jni.JObjType<$R> R, + $R? query<$R extends jni$_.JObject?>( + jni$_.JObject? temporalQuery, { + required jni$_.JObjType<$R> R, }) { - return _query(reference.pointer, _id_query as _$jni.JMethodIDPtr, - temporalQuery.reference.pointer) - .object(R); + final _$temporalQuery = temporalQuery?.reference ?? jni$_.jNullReference; + return _query(reference.pointer, _id_query as jni$_.JMethodIDPtr, + _$temporalQuery.pointer) + .object<$R?>(R.nullableType); } static final _id_adjustInto = _class.instanceMethodId( @@ -23579,25 +24819,26 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/Temporal;)Ljava/time/temporal/Temporal;', ); - static final _adjustInto = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _adjustInto = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal temporal)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject adjustInto( - _$jni.JObject temporal, + jni$_.JObject? adjustInto( + jni$_.JObject? temporal, ) { - return _adjustInto(reference.pointer, _id_adjustInto as _$jni.JMethodIDPtr, - temporal.reference.pointer) - .object(const _$jni.JObjectType()); + final _$temporal = temporal?.reference ?? jni$_.jNullReference; + return _adjustInto(reference.pointer, _id_adjustInto as jni$_.JMethodIDPtr, + _$temporal.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_until = _class.instanceMethodId( @@ -23605,30 +24846,32 @@ class Instant extends _$jni.JObject { r'(Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalUnit;)J', ); - static final _until = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _until = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallLongMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public long until(java.time.temporal.Temporal temporal, java.time.temporal.TemporalUnit temporalUnit)` int until( - _$jni.JObject temporal, - _$jni.JObject temporalUnit, + jni$_.JObject? temporal, + jni$_.JObject? temporalUnit, ) { - return _until(reference.pointer, _id_until as _$jni.JMethodIDPtr, - temporal.reference.pointer, temporalUnit.reference.pointer) + final _$temporal = temporal?.reference ?? jni$_.jNullReference; + final _$temporalUnit = temporalUnit?.reference ?? jni$_.jNullReference; + return _until(reference.pointer, _id_until as jni$_.JMethodIDPtr, + _$temporal.pointer, _$temporalUnit.pointer) .long; } @@ -23637,25 +24880,26 @@ class Instant extends _$jni.JObject { r'(Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;', ); - static final _atOffset = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _atOffset = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.time.OffsetDateTime atOffset(java.time.ZoneOffset zoneOffset)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject atOffset( - _$jni.JObject zoneOffset, + jni$_.JObject? atOffset( + jni$_.JObject? zoneOffset, ) { - return _atOffset(reference.pointer, _id_atOffset as _$jni.JMethodIDPtr, - zoneOffset.reference.pointer) - .object(const _$jni.JObjectType()); + final _$zoneOffset = zoneOffset?.reference ?? jni$_.jNullReference; + return _atOffset(reference.pointer, _id_atOffset as jni$_.JMethodIDPtr, + _$zoneOffset.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_atZone = _class.instanceMethodId( @@ -23663,25 +24907,26 @@ class Instant extends _$jni.JObject { r'(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;', ); - static final _atZone = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _atZone = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public java.time.ZonedDateTime atZone(java.time.ZoneId zoneId)` /// The returned object must be released after use, by calling the [release] method. - _$jni.JObject atZone( - _$jni.JObject zoneId, + jni$_.JObject? atZone( + jni$_.JObject? zoneId, ) { - return _atZone(reference.pointer, _id_atZone as _$jni.JMethodIDPtr, - zoneId.reference.pointer) - .object(const _$jni.JObjectType()); + final _$zoneId = zoneId?.reference ?? jni$_.jNullReference; + return _atZone(reference.pointer, _id_atZone as jni$_.JMethodIDPtr, + _$zoneId.pointer) + .object(const jni$_.JObjectNullableType()); } static final _id_toEpochMilli = _class.instanceMethodId( @@ -23689,22 +24934,22 @@ class Instant extends _$jni.JObject { r'()J', ); - static final _toEpochMilli = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _toEpochMilli = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallLongMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public long toEpochMilli()` int toEpochMilli() { return _toEpochMilli( - reference.pointer, _id_toEpochMilli as _$jni.JMethodIDPtr) + reference.pointer, _id_toEpochMilli as jni$_.JMethodIDPtr) .long; } @@ -23713,23 +24958,24 @@ class Instant extends _$jni.JObject { r'(Ljava/time/Instant;)I', ); - static final _compareTo = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _compareTo = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public int compareTo(java.time.Instant instant)` int compareTo( - Instant instant, + Instant? instant, ) { - return _compareTo(reference.pointer, _id_compareTo as _$jni.JMethodIDPtr, - instant.reference.pointer) + final _$instant = instant?.reference ?? jni$_.jNullReference; + return _compareTo(reference.pointer, _id_compareTo as jni$_.JMethodIDPtr, + _$instant.pointer) .integer; } @@ -23738,23 +24984,24 @@ class Instant extends _$jni.JObject { r'(Ljava/time/Instant;)Z', ); - static final _isAfter = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _isAfter = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean isAfter(java.time.Instant instant)` bool isAfter( - Instant instant, + Instant? instant, ) { - return _isAfter(reference.pointer, _id_isAfter as _$jni.JMethodIDPtr, - instant.reference.pointer) + final _$instant = instant?.reference ?? jni$_.jNullReference; + return _isAfter(reference.pointer, _id_isAfter as jni$_.JMethodIDPtr, + _$instant.pointer) .boolean; } @@ -23763,23 +25010,24 @@ class Instant extends _$jni.JObject { r'(Ljava/time/Instant;)Z', ); - static final _isBefore = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _isBefore = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean isBefore(java.time.Instant instant)` bool isBefore( - Instant instant, + Instant? instant, ) { - return _isBefore(reference.pointer, _id_isBefore as _$jni.JMethodIDPtr, - instant.reference.pointer) + final _$instant = instant?.reference ?? jni$_.jNullReference; + return _isBefore(reference.pointer, _id_isBefore as jni$_.JMethodIDPtr, + _$instant.pointer) .boolean; } @@ -23788,23 +25036,24 @@ class Instant extends _$jni.JObject { r'(Ljava/lang/Object;)Z', ); - static final _equals = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _equals = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean equals(java.lang.Object object)` bool equals( - _$jni.JObject object, + jni$_.JObject? object, ) { - return _equals(reference.pointer, _id_equals as _$jni.JMethodIDPtr, - object.reference.pointer) + final _$object = object?.reference ?? jni$_.jNullReference; + return _equals(reference.pointer, _id_equals as jni$_.JMethodIDPtr, + _$object.pointer) .boolean; } @@ -23813,21 +25062,21 @@ class Instant extends _$jni.JObject { r'()I', ); - static final _hashCode$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _hashCode$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int hashCode()` int hashCode$1() { - return _hashCode$1(reference.pointer, _id_hashCode$1 as _$jni.JMethodIDPtr) + return _hashCode$1(reference.pointer, _id_hashCode$1 as jni$_.JMethodIDPtr) .integer; } @@ -23836,113 +25085,159 @@ class Instant extends _$jni.JObject { r'()Ljava/lang/String;', ); - static final _toString$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _toString$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public java.lang.String toString()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString toString$1() { - return _toString$1(reference.pointer, _id_toString$1 as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + jni$_.JString? toString$1() { + return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) + .object(const jni$_.JStringNullableType()); } } -final class $Instant$Type extends _$jni.JObjType { - @_$jni.internal - const $Instant$Type(); +final class $Instant$NullableType extends jni$_.JObjType { + @jni$_.internal + const $Instant$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Ljava/time/Instant;'; - @_$jni.internal - @_$core.override - Instant fromReference(_$jni.JReference reference) => - Instant.fromReference(reference); + @jni$_.internal + @core$_.override + Instant? fromReference(jni$_.JReference reference) => reference.isNull + ? null + : Instant.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override + int get hashCode => ($Instant$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($Instant$NullableType) && + other is $Instant$NullableType; + } +} + +final class $Instant$Type extends jni$_.JObjType { + @jni$_.internal + const $Instant$Type(); + + @jni$_.internal + @core$_.override + String get signature => r'Ljava/time/Instant;'; + + @jni$_.internal + @core$_.override + Instant fromReference(jni$_.JReference reference) => Instant.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => const $Instant$NullableType(); + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override int get hashCode => ($Instant$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($Instant$Type) && other is $Instant$Type; } } /// from: `androidx.health.connect.client.request.AggregateGroupByDurationRequest` -class AggregateGroupByDurationRequest extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; +class AggregateGroupByDurationRequest extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; - @_$jni.internal + @jni$_.internal AggregateGroupByDurationRequest.fromReference( - _$jni.JReference reference, + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/request/AggregateGroupByDurationRequest'); /// The type which includes information such as the signature of this class. + static const nullableType = $AggregateGroupByDurationRequest$NullableType(); static const type = $AggregateGroupByDurationRequest$Type(); static final _id_new$ = _class.constructorId( r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Duration;Ljava/util/Set;)V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Duration duration, java.util.Set set1)` /// The returned object must be released after use, by calling the [release] method. factory AggregateGroupByDurationRequest( - _$jni.JSet> set, + jni$_.JSet> set, TimeRangeFilter timeRangeFilter, - _$jni.JObject duration, - _$jni.JSet<_$jni.JObject> set1, + jni$_.JObject duration, + jni$_.JSet set1, ) { + final _$set = set.reference; + final _$timeRangeFilter = timeRangeFilter.reference; + final _$duration = duration.reference; + final _$set1 = set1.reference; return AggregateGroupByDurationRequest.fromReference(_new$( _class.reference.pointer, - _id_new$ as _$jni.JMethodIDPtr, - set.reference.pointer, - timeRangeFilter.reference.pointer, - duration.reference.pointer, - set1.reference.pointer) + _id_new$ as jni$_.JMethodIDPtr, + _$set.pointer, + _$timeRangeFilter.pointer, + _$duration.pointer, + _$set1.pointer) .reference); } @@ -23950,81 +25245,135 @@ class AggregateGroupByDurationRequest extends _$jni.JObject { r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Duration;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `synthetic public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Duration duration, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. factory AggregateGroupByDurationRequest.new$1( - _$jni.JSet<_$jni.JObject> set, - TimeRangeFilter timeRangeFilter, - _$jni.JObject duration, - _$jni.JSet<_$jni.JObject> set1, + jni$_.JSet? set, + TimeRangeFilter? timeRangeFilter, + jni$_.JObject? duration, + jni$_.JSet? set1, int i, - _$jni.JObject defaultConstructorMarker, - ) { + jni$_.JObject? defaultConstructorMarker, + ) { + final _$set = set?.reference ?? jni$_.jNullReference; + final _$timeRangeFilter = + timeRangeFilter?.reference ?? jni$_.jNullReference; + final _$duration = duration?.reference ?? jni$_.jNullReference; + final _$set1 = set1?.reference ?? jni$_.jNullReference; + final _$defaultConstructorMarker = + defaultConstructorMarker?.reference ?? jni$_.jNullReference; return AggregateGroupByDurationRequest.fromReference(_new$1( _class.reference.pointer, - _id_new$1 as _$jni.JMethodIDPtr, - set.reference.pointer, - timeRangeFilter.reference.pointer, - duration.reference.pointer, - set1.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + _$set.pointer, + _$timeRangeFilter.pointer, + _$duration.pointer, + _$set1.pointer, i, - defaultConstructorMarker.reference.pointer) + _$defaultConstructorMarker.pointer) .reference); } } -final class $AggregateGroupByDurationRequest$Type - extends _$jni.JObjType { - @_$jni.internal - const $AggregateGroupByDurationRequest$Type(); +final class $AggregateGroupByDurationRequest$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $AggregateGroupByDurationRequest$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/request/AggregateGroupByDurationRequest;'; - @_$jni.internal - @_$core.override - AggregateGroupByDurationRequest fromReference(_$jni.JReference reference) => - AggregateGroupByDurationRequest.fromReference(reference); + @jni$_.internal + @core$_.override + AggregateGroupByDurationRequest? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : AggregateGroupByDurationRequest.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @core$_.override + int get hashCode => ($AggregateGroupByDurationRequest$NullableType).hashCode; - @_$jni.internal - @_$core.override + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == + ($AggregateGroupByDurationRequest$NullableType) && + other is $AggregateGroupByDurationRequest$NullableType; + } +} + +final class $AggregateGroupByDurationRequest$Type + extends jni$_.JObjType { + @jni$_.internal + const $AggregateGroupByDurationRequest$Type(); + + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/request/AggregateGroupByDurationRequest;'; + + @jni$_.internal + @core$_.override + AggregateGroupByDurationRequest fromReference(jni$_.JReference reference) => + AggregateGroupByDurationRequest.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $AggregateGroupByDurationRequest$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override int get hashCode => ($AggregateGroupByDurationRequest$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($AggregateGroupByDurationRequest$Type) && other is $AggregateGroupByDurationRequest$Type; @@ -24032,62 +25381,67 @@ final class $AggregateGroupByDurationRequest$Type } /// from: `androidx.health.connect.client.request.AggregateGroupByPeriodRequest` -class AggregateGroupByPeriodRequest extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; +class AggregateGroupByPeriodRequest extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; - @_$jni.internal + @jni$_.internal AggregateGroupByPeriodRequest.fromReference( - _$jni.JReference reference, + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/request/AggregateGroupByPeriodRequest'); /// The type which includes information such as the signature of this class. + static const nullableType = $AggregateGroupByPeriodRequest$NullableType(); static const type = $AggregateGroupByPeriodRequest$Type(); static final _id_new$ = _class.constructorId( r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Period;Ljava/util/Set;)V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Period period, java.util.Set set1)` /// The returned object must be released after use, by calling the [release] method. factory AggregateGroupByPeriodRequest( - _$jni.JSet> set, + jni$_.JSet> set, TimeRangeFilter timeRangeFilter, - _$jni.JObject period, - _$jni.JSet<_$jni.JObject> set1, + jni$_.JObject period, + jni$_.JSet set1, ) { + final _$set = set.reference; + final _$timeRangeFilter = timeRangeFilter.reference; + final _$period = period.reference; + final _$set1 = set1.reference; return AggregateGroupByPeriodRequest.fromReference(_new$( _class.reference.pointer, - _id_new$ as _$jni.JMethodIDPtr, - set.reference.pointer, - timeRangeFilter.reference.pointer, - period.reference.pointer, - set1.reference.pointer) + _id_new$ as jni$_.JMethodIDPtr, + _$set.pointer, + _$timeRangeFilter.pointer, + _$period.pointer, + _$set1.pointer) .reference); } @@ -24095,81 +25449,134 @@ class AggregateGroupByPeriodRequest extends _$jni.JObject { r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Period;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `synthetic public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Period period, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. factory AggregateGroupByPeriodRequest.new$1( - _$jni.JSet<_$jni.JObject> set, - TimeRangeFilter timeRangeFilter, - _$jni.JObject period, - _$jni.JSet<_$jni.JObject> set1, + jni$_.JSet? set, + TimeRangeFilter? timeRangeFilter, + jni$_.JObject? period, + jni$_.JSet? set1, int i, - _$jni.JObject defaultConstructorMarker, - ) { + jni$_.JObject? defaultConstructorMarker, + ) { + final _$set = set?.reference ?? jni$_.jNullReference; + final _$timeRangeFilter = + timeRangeFilter?.reference ?? jni$_.jNullReference; + final _$period = period?.reference ?? jni$_.jNullReference; + final _$set1 = set1?.reference ?? jni$_.jNullReference; + final _$defaultConstructorMarker = + defaultConstructorMarker?.reference ?? jni$_.jNullReference; return AggregateGroupByPeriodRequest.fromReference(_new$1( _class.reference.pointer, - _id_new$1 as _$jni.JMethodIDPtr, - set.reference.pointer, - timeRangeFilter.reference.pointer, - period.reference.pointer, - set1.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + _$set.pointer, + _$timeRangeFilter.pointer, + _$period.pointer, + _$set1.pointer, i, - defaultConstructorMarker.reference.pointer) + _$defaultConstructorMarker.pointer) .reference); } } -final class $AggregateGroupByPeriodRequest$Type - extends _$jni.JObjType { - @_$jni.internal - const $AggregateGroupByPeriodRequest$Type(); +final class $AggregateGroupByPeriodRequest$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $AggregateGroupByPeriodRequest$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/request/AggregateGroupByPeriodRequest;'; - @_$jni.internal - @_$core.override - AggregateGroupByPeriodRequest fromReference(_$jni.JReference reference) => - AggregateGroupByPeriodRequest.fromReference(reference); + @jni$_.internal + @core$_.override + AggregateGroupByPeriodRequest? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : AggregateGroupByPeriodRequest.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($AggregateGroupByPeriodRequest$NullableType).hashCode; - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($AggregateGroupByPeriodRequest$NullableType) && + other is $AggregateGroupByPeriodRequest$NullableType; + } +} - @_$jni.internal - @_$core.override +final class $AggregateGroupByPeriodRequest$Type + extends jni$_.JObjType { + @jni$_.internal + const $AggregateGroupByPeriodRequest$Type(); + + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/request/AggregateGroupByPeriodRequest;'; + + @jni$_.internal + @core$_.override + AggregateGroupByPeriodRequest fromReference(jni$_.JReference reference) => + AggregateGroupByPeriodRequest.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $AggregateGroupByPeriodRequest$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override int get hashCode => ($AggregateGroupByPeriodRequest$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($AggregateGroupByPeriodRequest$Type) && other is $AggregateGroupByPeriodRequest$Type; @@ -24177,58 +25584,62 @@ final class $AggregateGroupByPeriodRequest$Type } /// from: `androidx.health.connect.client.request.AggregateRequest` -class AggregateRequest extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; +class AggregateRequest extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; - @_$jni.internal + @jni$_.internal AggregateRequest.fromReference( - _$jni.JReference reference, + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/request/AggregateRequest'); /// The type which includes information such as the signature of this class. + static const nullableType = $AggregateRequest$NullableType(); static const type = $AggregateRequest$Type(); static final _id_new$ = _class.constructorId( r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;)V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set1)` /// The returned object must be released after use, by calling the [release] method. factory AggregateRequest( - _$jni.JSet> set, + jni$_.JSet> set, TimeRangeFilter timeRangeFilter, - _$jni.JSet<_$jni.JObject> set1, + jni$_.JSet set1, ) { + final _$set = set.reference; + final _$timeRangeFilter = timeRangeFilter.reference; + final _$set1 = set1.reference; return AggregateRequest.fromReference(_new$( _class.reference.pointer, - _id_new$ as _$jni.JMethodIDPtr, - set.reference.pointer, - timeRangeFilter.reference.pointer, - set1.reference.pointer) + _id_new$ as jni$_.JMethodIDPtr, + _$set.pointer, + _$timeRangeFilter.pointer, + _$set1.pointer) .reference); } @@ -24236,76 +25647,128 @@ class AggregateRequest extends _$jni.JObject { r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `synthetic public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. factory AggregateRequest.new$1( - _$jni.JSet<_$jni.JObject> set, - TimeRangeFilter timeRangeFilter, - _$jni.JSet<_$jni.JObject> set1, + jni$_.JSet? set, + TimeRangeFilter? timeRangeFilter, + jni$_.JSet? set1, int i, - _$jni.JObject defaultConstructorMarker, - ) { + jni$_.JObject? defaultConstructorMarker, + ) { + final _$set = set?.reference ?? jni$_.jNullReference; + final _$timeRangeFilter = + timeRangeFilter?.reference ?? jni$_.jNullReference; + final _$set1 = set1?.reference ?? jni$_.jNullReference; + final _$defaultConstructorMarker = + defaultConstructorMarker?.reference ?? jni$_.jNullReference; return AggregateRequest.fromReference(_new$1( _class.reference.pointer, - _id_new$1 as _$jni.JMethodIDPtr, - set.reference.pointer, - timeRangeFilter.reference.pointer, - set1.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + _$set.pointer, + _$timeRangeFilter.pointer, + _$set1.pointer, i, - defaultConstructorMarker.reference.pointer) + _$defaultConstructorMarker.pointer) .reference); } } -final class $AggregateRequest$Type extends _$jni.JObjType { - @_$jni.internal - const $AggregateRequest$Type(); +final class $AggregateRequest$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $AggregateRequest$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/request/AggregateRequest;'; - @_$jni.internal - @_$core.override - AggregateRequest fromReference(_$jni.JReference reference) => - AggregateRequest.fromReference(reference); + @jni$_.internal + @core$_.override + AggregateRequest? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : AggregateRequest.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($AggregateRequest$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($AggregateRequest$NullableType) && + other is $AggregateRequest$NullableType; + } +} + +final class $AggregateRequest$Type extends jni$_.JObjType { + @jni$_.internal + const $AggregateRequest$Type(); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/request/AggregateRequest;'; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + AggregateRequest fromReference(jni$_.JReference reference) => + AggregateRequest.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $AggregateRequest$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override int get hashCode => ($AggregateRequest$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($AggregateRequest$Type) && other is $AggregateRequest$Type; @@ -24313,54 +25776,54 @@ final class $AggregateRequest$Type extends _$jni.JObjType { } /// from: `androidx.health.connect.client.request.ChangesTokenRequest` -class ChangesTokenRequest extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; +class ChangesTokenRequest extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; - @_$jni.internal + @jni$_.internal ChangesTokenRequest.fromReference( - _$jni.JReference reference, + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/request/ChangesTokenRequest'); /// The type which includes information such as the signature of this class. + static const nullableType = $ChangesTokenRequest$NullableType(); static const type = $ChangesTokenRequest$Type(); static final _id_new$ = _class.constructorId( r'(Ljava/util/Set;Ljava/util/Set;)V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void (java.util.Set set, java.util.Set set1)` /// The returned object must be released after use, by calling the [release] method. factory ChangesTokenRequest( - _$jni.JSet<_$jni.JObject> set, - _$jni.JSet<_$jni.JObject> set1, + jni$_.JSet set, + jni$_.JSet set1, ) { - return ChangesTokenRequest.fromReference(_new$( - _class.reference.pointer, - _id_new$ as _$jni.JMethodIDPtr, - set.reference.pointer, - set1.reference.pointer) + final _$set = set.reference; + final _$set1 = set1.reference; + return ChangesTokenRequest.fromReference(_new$(_class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, _$set.pointer, _$set1.pointer) .reference); } @@ -24368,73 +25831,123 @@ class ChangesTokenRequest extends _$jni.JObject { r'(Ljava/util/Set;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `synthetic public void (java.util.Set set, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. factory ChangesTokenRequest.new$1( - _$jni.JSet<_$jni.JObject> set, - _$jni.JSet<_$jni.JObject> set1, + jni$_.JSet? set, + jni$_.JSet? set1, int i, - _$jni.JObject defaultConstructorMarker, + jni$_.JObject? defaultConstructorMarker, ) { + final _$set = set?.reference ?? jni$_.jNullReference; + final _$set1 = set1?.reference ?? jni$_.jNullReference; + final _$defaultConstructorMarker = + defaultConstructorMarker?.reference ?? jni$_.jNullReference; return ChangesTokenRequest.fromReference(_new$1( _class.reference.pointer, - _id_new$1 as _$jni.JMethodIDPtr, - set.reference.pointer, - set1.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + _$set.pointer, + _$set1.pointer, i, - defaultConstructorMarker.reference.pointer) + _$defaultConstructorMarker.pointer) .reference); } } -final class $ChangesTokenRequest$Type - extends _$jni.JObjType { - @_$jni.internal - const $ChangesTokenRequest$Type(); +final class $ChangesTokenRequest$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $ChangesTokenRequest$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/request/ChangesTokenRequest;'; - @_$jni.internal - @_$core.override - ChangesTokenRequest fromReference(_$jni.JReference reference) => - ChangesTokenRequest.fromReference(reference); + @jni$_.internal + @core$_.override + ChangesTokenRequest? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : ChangesTokenRequest.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($ChangesTokenRequest$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($ChangesTokenRequest$NullableType) && + other is $ChangesTokenRequest$NullableType; + } +} - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); +final class $ChangesTokenRequest$Type + extends jni$_.JObjType { + @jni$_.internal + const $ChangesTokenRequest$Type(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/request/ChangesTokenRequest;'; + + @jni$_.internal + @core$_.override + ChangesTokenRequest fromReference(jni$_.JReference reference) => + ChangesTokenRequest.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $ChangesTokenRequest$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override int get hashCode => ($ChangesTokenRequest$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($ChangesTokenRequest$Type) && other is $ChangesTokenRequest$Type; @@ -24442,29 +25955,38 @@ final class $ChangesTokenRequest$Type } /// from: `androidx.health.connect.client.request.ReadRecordsRequest` -class ReadRecordsRequest<$T extends _$jni.JObject> extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType> $type; +class ReadRecordsRequest<$T extends jni$_.JObject> extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType> $type; - @_$jni.internal - final _$jni.JObjType<$T> T; + @jni$_.internal + final jni$_.JObjType<$T> T; - @_$jni.internal + @jni$_.internal ReadRecordsRequest.fromReference( this.T, - _$jni.JReference reference, - ) : $type = type(T), + jni$_.JReference reference, + ) : $type = type<$T>(T), super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/request/ReadRecordsRequest'); /// The type which includes information such as the signature of this class. - static $ReadRecordsRequest$Type<$T> type<$T extends _$jni.JObject>( - _$jni.JObjType<$T> T, + static $ReadRecordsRequest$NullableType<$T> + nullableType<$T extends jni$_.JObject>( + jni$_.JObjType<$T> T, + ) { + return $ReadRecordsRequest$NullableType<$T>( + T, + ); + } + + static $ReadRecordsRequest$Type<$T> type<$T extends jni$_.JObject>( + jni$_.JObjType<$T> T, ) { - return $ReadRecordsRequest$Type( + return $ReadRecordsRequest$Type<$T>( T, ); } @@ -24473,53 +25995,57 @@ class ReadRecordsRequest<$T extends _$jni.JObject> extends _$jni.JObject { r'(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;ZILjava/lang/String;)V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `public void (kotlin.reflect.KClass kClass, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set, boolean z, int i, java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. factory ReadRecordsRequest( - _$jni.JObject kClass, + jni$_.JObject kClass, TimeRangeFilter timeRangeFilter, - _$jni.JSet<_$jni.JObject> set, + jni$_.JSet set, bool z, int i, - _$jni.JString string, { - required _$jni.JObjType<$T> T, + jni$_.JString? string, { + required jni$_.JObjType<$T> T, }) { - return ReadRecordsRequest.fromReference( + final _$kClass = kClass.reference; + final _$timeRangeFilter = timeRangeFilter.reference; + final _$set = set.reference; + final _$string = string?.reference ?? jni$_.jNullReference; + return ReadRecordsRequest<$T>.fromReference( T, _new$( _class.reference.pointer, - _id_new$ as _$jni.JMethodIDPtr, - kClass.reference.pointer, - timeRangeFilter.reference.pointer, - set.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + _$kClass.pointer, + _$timeRangeFilter.pointer, + _$set.pointer, z ? 1 : 0, i, - string.reference.pointer) + _$string.pointer) .reference); } @@ -24527,61 +26053,68 @@ class ReadRecordsRequest<$T extends _$jni.JObject> extends _$jni.JObject { r'(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;ZILjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Int32, - _$jni.Pointer<_$jni.Void>, - _$jni.Int32, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, int, int, - _$jni.Pointer<_$jni.Void>, + jni$_.Pointer, int, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.Pointer)>(); /// from: `synthetic public void (kotlin.reflect.KClass kClass, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set, boolean z, int i, java.lang.String string, int i1, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. factory ReadRecordsRequest.new$1( - _$jni.JObject kClass, - TimeRangeFilter timeRangeFilter, - _$jni.JSet<_$jni.JObject> set, + jni$_.JObject? kClass, + TimeRangeFilter? timeRangeFilter, + jni$_.JSet? set, bool z, int i, - _$jni.JString string, + jni$_.JString? string, int i1, - _$jni.JObject defaultConstructorMarker, { - required _$jni.JObjType<$T> T, + jni$_.JObject? defaultConstructorMarker, { + required jni$_.JObjType<$T> T, }) { - return ReadRecordsRequest.fromReference( + final _$kClass = kClass?.reference ?? jni$_.jNullReference; + final _$timeRangeFilter = + timeRangeFilter?.reference ?? jni$_.jNullReference; + final _$set = set?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$defaultConstructorMarker = + defaultConstructorMarker?.reference ?? jni$_.jNullReference; + return ReadRecordsRequest<$T>.fromReference( T, _new$1( _class.reference.pointer, - _id_new$1 as _$jni.JMethodIDPtr, - kClass.reference.pointer, - timeRangeFilter.reference.pointer, - set.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + _$kClass.pointer, + _$timeRangeFilter.pointer, + _$set.pointer, z ? 1 : 0, i, - string.reference.pointer, + _$string.pointer, i1, - defaultConstructorMarker.reference.pointer) + _$defaultConstructorMarker.pointer) .reference); } @@ -24590,23 +26123,24 @@ class ReadRecordsRequest<$T extends _$jni.JObject> extends _$jni.JObject { r'(Ljava/lang/Object;)Z', ); - static final _equals = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _equals = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public boolean equals(java.lang.Object object)` bool equals( - _$jni.JObject object, + jni$_.JObject? object, ) { - return _equals(reference.pointer, _id_equals as _$jni.JMethodIDPtr, - object.reference.pointer) + final _$object = object?.reference ?? jni$_.jNullReference; + return _equals(reference.pointer, _id_equals as jni$_.JMethodIDPtr, + _$object.pointer) .boolean; } @@ -24615,57 +26149,111 @@ class ReadRecordsRequest<$T extends _$jni.JObject> extends _$jni.JObject { r'()I', ); - static final _hashCode$1 = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _hashCode$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallIntMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public int hashCode()` int hashCode$1() { - return _hashCode$1(reference.pointer, _id_hashCode$1 as _$jni.JMethodIDPtr) + return _hashCode$1(reference.pointer, _id_hashCode$1 as jni$_.JMethodIDPtr) .integer; } } -final class $ReadRecordsRequest$Type<$T extends _$jni.JObject> - extends _$jni.JObjType> { - @_$jni.internal - final _$jni.JObjType<$T> T; +final class $ReadRecordsRequest$NullableType<$T extends jni$_.JObject> + extends jni$_.JObjType?> { + @jni$_.internal + final jni$_.JObjType<$T> T; - @_$jni.internal - const $ReadRecordsRequest$Type( + @jni$_.internal + const $ReadRecordsRequest$NullableType( this.T, ); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/request/ReadRecordsRequest;'; - @_$jni.internal - @_$core.override - ReadRecordsRequest<$T> fromReference(_$jni.JReference reference) => - ReadRecordsRequest.fromReference(T, reference); + @jni$_.internal + @core$_.override + ReadRecordsRequest<$T>? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : ReadRecordsRequest<$T>.fromReference( + T, + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType?> get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => Object.hash($ReadRecordsRequest$NullableType, T); + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($ReadRecordsRequest$NullableType<$T>) && + other is $ReadRecordsRequest$NullableType<$T> && + T == other.T; + } +} + +final class $ReadRecordsRequest$Type<$T extends jni$_.JObject> + extends jni$_.JObjType> { + @jni$_.internal + final jni$_.JObjType<$T> T; + + @jni$_.internal + const $ReadRecordsRequest$Type( + this.T, + ); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/request/ReadRecordsRequest;'; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + ReadRecordsRequest<$T> fromReference(jni$_.JReference reference) => + ReadRecordsRequest<$T>.fromReference( + T, + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType?> get nullableType => + $ReadRecordsRequest$NullableType<$T>(T); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override int get hashCode => Object.hash($ReadRecordsRequest$Type, T); - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($ReadRecordsRequest$Type<$T>) && other is $ReadRecordsRequest$Type<$T> && @@ -24674,58 +26262,62 @@ final class $ReadRecordsRequest$Type<$T extends _$jni.JObject> } /// from: `androidx.health.connect.client.aggregate.AggregationResult` -class AggregationResult extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; +class AggregationResult extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; - @_$jni.internal + @jni$_.internal AggregationResult.fromReference( - _$jni.JReference reference, + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/aggregate/AggregationResult'); /// The type which includes information such as the signature of this class. + static const nullableType = $AggregationResult$NullableType(); static const type = $AggregationResult$Type(); static final _id_new$ = _class.constructorId( r'(Ljava/util/Map;Ljava/util/Map;Ljava/util/Set;)V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void (java.util.Map map, java.util.Map map1, java.util.Set set)` /// The returned object must be released after use, by calling the [release] method. factory AggregationResult( - _$jni.JMap<_$jni.JString, _$jni.JLong> map, - _$jni.JMap<_$jni.JString, _$jni.JDouble> map1, - _$jni.JSet<_$jni.JObject> set, + jni$_.JMap map, + jni$_.JMap map1, + jni$_.JSet set, ) { + final _$map = map.reference; + final _$map1 = map1.reference; + final _$set = set.reference; return AggregationResult.fromReference(_new$( _class.reference.pointer, - _id_new$ as _$jni.JMethodIDPtr, - map.reference.pointer, - map1.reference.pointer, - set.reference.pointer) + _id_new$ as jni$_.JMethodIDPtr, + _$map.pointer, + _$map1.pointer, + _$set.pointer) .reference); } @@ -24734,24 +26326,25 @@ class AggregationResult extends _$jni.JObject { r'()Ljava/util/Set;', ); - static final _getDataOrigins = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getDataOrigins = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final java.util.Set getDataOrigins()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JSet<_$jni.JObject> getDataOrigins() { + jni$_.JSet getDataOrigins() { return _getDataOrigins( - reference.pointer, _id_getDataOrigins as _$jni.JMethodIDPtr) - .object(const _$jni.JSetType(_$jni.JObjectType())); + reference.pointer, _id_getDataOrigins as jni$_.JMethodIDPtr) + .object>( + const jni$_.JSetType(jni$_.JObjectType())); } static final _id_hasMetric = _class.instanceMethodId( @@ -24759,23 +26352,24 @@ class AggregationResult extends _$jni.JObject { r'(Landroidx/health/connect/client/aggregate/AggregateMetric;)Z', ); - static final _hasMetric = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _hasMetric = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final boolean hasMetric(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric)` bool hasMetric( - AggregateMetric<_$jni.JObject> aggregateMetric, + AggregateMetric aggregateMetric, ) { - return _hasMetric(reference.pointer, _id_hasMetric as _$jni.JMethodIDPtr, - aggregateMetric.reference.pointer) + final _$aggregateMetric = aggregateMetric.reference; + return _hasMetric(reference.pointer, _id_hasMetric as jni$_.JMethodIDPtr, + _$aggregateMetric.pointer) .boolean; } @@ -24784,23 +26378,24 @@ class AggregationResult extends _$jni.JObject { r'(Landroidx/health/connect/client/aggregate/AggregateMetric;)Z', ); - static final _contains = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _contains = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallBooleanMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final boolean contains(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric)` bool contains( - AggregateMetric<_$jni.JObject> aggregateMetric, + AggregateMetric aggregateMetric, ) { - return _contains(reference.pointer, _id_contains as _$jni.JMethodIDPtr, - aggregateMetric.reference.pointer) + final _$aggregateMetric = aggregateMetric.reference; + return _contains(reference.pointer, _id_contains as jni$_.JMethodIDPtr, + _$aggregateMetric.pointer) .boolean; } @@ -24809,29 +26404,30 @@ class AggregationResult extends _$jni.JObject { r'(Landroidx/health/connect/client/aggregate/AggregateMetric;)Ljava/lang/Object;', ); - static final _getMetric = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _getMetric = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final T getMetric(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric)` /// The returned object must be released after use, by calling the [release] method. - $T getMetric<$T extends _$jni.JObject>( + $T? getMetric<$T extends jni$_.JObject>( AggregateMetric<$T> aggregateMetric, { - _$jni.JObjType<$T>? T, + jni$_.JObjType<$T>? T, }) { - T ??= _$jni.lowestCommonSuperType([ - (aggregateMetric.$type as $AggregateMetric$Type).T, - ]) as _$jni.JObjType<$T>; - return _getMetric(reference.pointer, _id_getMetric as _$jni.JMethodIDPtr, - aggregateMetric.reference.pointer) - .object(T); + T ??= jni$_.lowestCommonSuperType([ + (aggregateMetric.$type as $AggregateMetric$Type).T, + ]) as jni$_.JObjType<$T>; + final _$aggregateMetric = aggregateMetric.reference; + return _getMetric(reference.pointer, _id_getMetric as jni$_.JMethodIDPtr, + _$aggregateMetric.pointer) + .object<$T?>(T.nullableType); } static final _id_get = _class.instanceMethodId( @@ -24839,58 +26435,105 @@ class AggregationResult extends _$jni.JObject { r'(Landroidx/health/connect/client/aggregate/AggregateMetric;)Ljava/lang/Object;', ); - static final _get = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _get = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `public final T get(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric)` /// The returned object must be released after use, by calling the [release] method. - $T get<$T extends _$jni.JObject>( + $T? get<$T extends jni$_.JObject>( AggregateMetric<$T> aggregateMetric, { - _$jni.JObjType<$T>? T, + jni$_.JObjType<$T>? T, }) { - T ??= _$jni.lowestCommonSuperType([ - (aggregateMetric.$type as $AggregateMetric$Type).T, - ]) as _$jni.JObjType<$T>; - return _get(reference.pointer, _id_get as _$jni.JMethodIDPtr, - aggregateMetric.reference.pointer) - .object(T); + T ??= jni$_.lowestCommonSuperType([ + (aggregateMetric.$type as $AggregateMetric$Type).T, + ]) as jni$_.JObjType<$T>; + final _$aggregateMetric = aggregateMetric.reference; + return _get(reference.pointer, _id_get as jni$_.JMethodIDPtr, + _$aggregateMetric.pointer) + .object<$T?>(T.nullableType); } } -final class $AggregationResult$Type extends _$jni.JObjType { - @_$jni.internal - const $AggregationResult$Type(); +final class $AggregationResult$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $AggregationResult$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/aggregate/AggregationResult;'; - @_$jni.internal - @_$core.override - AggregationResult fromReference(_$jni.JReference reference) => - AggregationResult.fromReference(reference); + @jni$_.internal + @core$_.override + AggregationResult? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : AggregationResult.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($AggregationResult$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($AggregationResult$NullableType) && + other is $AggregationResult$NullableType; + } +} + +final class $AggregationResult$Type extends jni$_.JObjType { + @jni$_.internal + const $AggregationResult$Type(); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/aggregate/AggregationResult;'; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + AggregationResult fromReference(jni$_.JReference reference) => + AggregationResult.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $AggregationResult$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override int get hashCode => ($AggregationResult$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($AggregationResult$Type) && other is $AggregationResult$Type; @@ -24898,22 +26541,23 @@ final class $AggregationResult$Type extends _$jni.JObjType { } /// from: `androidx.health.connect.client.aggregate.AggregateMetric$AggregationType` -class AggregateMetric_AggregationType extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; - - @_$jni.internal - AggregateMetric_AggregationType.fromReference( - _$jni.JReference reference, +class AggregateMetric$AggregationType extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; + + @jni$_.internal + AggregateMetric$AggregationType.fromReference( + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/aggregate/AggregateMetric$AggregationType'); /// The type which includes information such as the signature of this class. - static const type = $AggregateMetric_AggregationType$Type(); + static const nullableType = $AggregateMetric$AggregationType$NullableType(); + static const type = $AggregateMetric$AggregationType$Type(); static final _id_DURATION = _class.staticFieldId( r'DURATION', r'Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;', @@ -24921,8 +26565,8 @@ class AggregateMetric_AggregationType extends _$jni.JObject { /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType DURATION` /// The returned object must be released after use, by calling the [release] method. - static AggregateMetric_AggregationType get DURATION => - _id_DURATION.get(_class, const $AggregateMetric_AggregationType$Type()); + static AggregateMetric$AggregationType get DURATION => + _id_DURATION.get(_class, const $AggregateMetric$AggregationType$Type()); static final _id_AVERAGE = _class.staticFieldId( r'AVERAGE', @@ -24931,8 +26575,8 @@ class AggregateMetric_AggregationType extends _$jni.JObject { /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType AVERAGE` /// The returned object must be released after use, by calling the [release] method. - static AggregateMetric_AggregationType get AVERAGE => - _id_AVERAGE.get(_class, const $AggregateMetric_AggregationType$Type()); + static AggregateMetric$AggregationType get AVERAGE => + _id_AVERAGE.get(_class, const $AggregateMetric$AggregationType$Type()); static final _id_MINIMUM = _class.staticFieldId( r'MINIMUM', @@ -24941,8 +26585,8 @@ class AggregateMetric_AggregationType extends _$jni.JObject { /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType MINIMUM` /// The returned object must be released after use, by calling the [release] method. - static AggregateMetric_AggregationType get MINIMUM => - _id_MINIMUM.get(_class, const $AggregateMetric_AggregationType$Type()); + static AggregateMetric$AggregationType get MINIMUM => + _id_MINIMUM.get(_class, const $AggregateMetric$AggregationType$Type()); static final _id_MAXIMUM = _class.staticFieldId( r'MAXIMUM', @@ -24951,8 +26595,8 @@ class AggregateMetric_AggregationType extends _$jni.JObject { /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType MAXIMUM` /// The returned object must be released after use, by calling the [release] method. - static AggregateMetric_AggregationType get MAXIMUM => - _id_MAXIMUM.get(_class, const $AggregateMetric_AggregationType$Type()); + static AggregateMetric$AggregationType get MAXIMUM => + _id_MAXIMUM.get(_class, const $AggregateMetric$AggregationType$Type()); static final _id_TOTAL = _class.staticFieldId( r'TOTAL', @@ -24961,8 +26605,8 @@ class AggregateMetric_AggregationType extends _$jni.JObject { /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType TOTAL` /// The returned object must be released after use, by calling the [release] method. - static AggregateMetric_AggregationType get TOTAL => - _id_TOTAL.get(_class, const $AggregateMetric_AggregationType$Type()); + static AggregateMetric$AggregationType get TOTAL => + _id_TOTAL.get(_class, const $AggregateMetric$AggregationType$Type()); static final _id_COUNT = _class.staticFieldId( r'COUNT', @@ -24971,32 +26615,32 @@ class AggregateMetric_AggregationType extends _$jni.JObject { /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType COUNT` /// The returned object must be released after use, by calling the [release] method. - static AggregateMetric_AggregationType get COUNT => - _id_COUNT.get(_class, const $AggregateMetric_AggregationType$Type()); + static AggregateMetric$AggregationType get COUNT => + _id_COUNT.get(_class, const $AggregateMetric$AggregationType$Type()); static final _id_getAggregationTypeString = _class.instanceMethodId( r'getAggregationTypeString', r'()Ljava/lang/String;', ); - static final _getAggregationTypeString = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _getAggregationTypeString = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `public final java.lang.String getAggregationTypeString()` /// The returned object must be released after use, by calling the [release] method. - _$jni.JString getAggregationTypeString() { + jni$_.JString getAggregationTypeString() { return _getAggregationTypeString(reference.pointer, - _id_getAggregationTypeString as _$jni.JMethodIDPtr) - .object(const _$jni.JStringType()); + _id_getAggregationTypeString as jni$_.JMethodIDPtr) + .object(const jni$_.JStringType()); } static final _id_values = _class.staticMethodId( @@ -25004,24 +26648,25 @@ class AggregateMetric_AggregationType extends _$jni.JObject { r'()[Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;', ); - static final _values = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + static final _values = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>>('globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, )>(); /// from: `static public androidx.health.connect.client.aggregate.AggregateMetric$AggregationType[] values()` /// The returned object must be released after use, by calling the [release] method. - static _$jni.JArray values() { - return _values(_class.reference.pointer, _id_values as _$jni.JMethodIDPtr) - .object( - const _$jni.JArrayType($AggregateMetric_AggregationType$Type())); + static jni$_.JArray? values() { + return _values(_class.reference.pointer, _id_values as jni$_.JMethodIDPtr) + .object?>( + const jni$_.JArrayNullableType( + $AggregateMetric$AggregationType$NullableType())); } static final _id_valueOf = _class.staticMethodId( @@ -25029,180 +26674,287 @@ class AggregateMetric_AggregationType extends _$jni.JObject { r'(Ljava/lang/String;)Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;', ); - static final _valueOf = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _valueOf = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_CallStaticObjectMethod') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `static public androidx.health.connect.client.aggregate.AggregateMetric$AggregationType valueOf(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - static AggregateMetric_AggregationType valueOf( - _$jni.JString string, + static AggregateMetric$AggregationType? valueOf( + jni$_.JString? string, ) { - return _valueOf(_class.reference.pointer, _id_valueOf as _$jni.JMethodIDPtr, - string.reference.pointer) - .object(const $AggregateMetric_AggregationType$Type()); + final _$string = string?.reference ?? jni$_.jNullReference; + return _valueOf(_class.reference.pointer, _id_valueOf as jni$_.JMethodIDPtr, + _$string.pointer) + .object( + const $AggregateMetric$AggregationType$NullableType()); } } -final class $AggregateMetric_AggregationType$Type - extends _$jni.JObjType { - @_$jni.internal - const $AggregateMetric_AggregationType$Type(); +final class $AggregateMetric$AggregationType$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $AggregateMetric$AggregationType$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;'; - @_$jni.internal - @_$core.override - AggregateMetric_AggregationType fromReference(_$jni.JReference reference) => - AggregateMetric_AggregationType.fromReference(reference); + @jni$_.internal + @core$_.override + AggregateMetric$AggregationType? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : AggregateMetric$AggregationType.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($AggregateMetric$AggregationType$NullableType).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == + ($AggregateMetric$AggregationType$NullableType) && + other is $AggregateMetric$AggregationType$NullableType; + } +} + +final class $AggregateMetric$AggregationType$Type + extends jni$_.JObjType { + @jni$_.internal + const $AggregateMetric$AggregationType$Type(); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;'; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + AggregateMetric$AggregationType fromReference(jni$_.JReference reference) => + AggregateMetric$AggregationType.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $AggregateMetric$AggregationType$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override - int get hashCode => ($AggregateMetric_AggregationType$Type).hashCode; + @core$_.override + int get hashCode => ($AggregateMetric$AggregationType$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($AggregateMetric_AggregationType$Type) && - other is $AggregateMetric_AggregationType$Type; + return other.runtimeType == ($AggregateMetric$AggregationType$Type) && + other is $AggregateMetric$AggregationType$Type; } } /// from: `androidx.health.connect.client.aggregate.AggregateMetric$Companion` -class AggregateMetric_Companion extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType $type; - - @_$jni.internal - AggregateMetric_Companion.fromReference( - _$jni.JReference reference, +class AggregateMetric$Companion extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType $type; + + @jni$_.internal + AggregateMetric$Companion.fromReference( + jni$_.JReference reference, ) : $type = type, super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/aggregate/AggregateMetric$Companion'); /// The type which includes information such as the signature of this class. - static const type = $AggregateMetric_Companion$Type(); + static const nullableType = $AggregateMetric$Companion$NullableType(); + static const type = $AggregateMetric$Companion$Type(); static final _id_new$ = _class.constructorId( r'(Lkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( 'globalEnv_NewObject') .asFunction< - _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); /// from: `synthetic public void (kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. - factory AggregateMetric_Companion( - _$jni.JObject defaultConstructorMarker, + factory AggregateMetric$Companion( + jni$_.JObject? defaultConstructorMarker, ) { - return AggregateMetric_Companion.fromReference(_new$( + final _$defaultConstructorMarker = + defaultConstructorMarker?.reference ?? jni$_.jNullReference; + return AggregateMetric$Companion.fromReference(_new$( _class.reference.pointer, - _id_new$ as _$jni.JMethodIDPtr, - defaultConstructorMarker.reference.pointer) + _id_new$ as jni$_.JMethodIDPtr, + _$defaultConstructorMarker.pointer) .reference); } } -final class $AggregateMetric_Companion$Type - extends _$jni.JObjType { - @_$jni.internal - const $AggregateMetric_Companion$Type(); +final class $AggregateMetric$Companion$NullableType + extends jni$_.JObjType { + @jni$_.internal + const $AggregateMetric$Companion$NullableType(); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/aggregate/AggregateMetric$Companion;'; - @_$jni.internal - @_$core.override - AggregateMetric_Companion fromReference(_$jni.JReference reference) => - AggregateMetric_Companion.fromReference(reference); + @jni$_.internal + @core$_.override + AggregateMetric$Companion? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : AggregateMetric$Companion.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @core$_.override + int get hashCode => ($AggregateMetric$Companion$NullableType).hashCode; - @_$jni.internal - @_$core.override + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($AggregateMetric$Companion$NullableType) && + other is $AggregateMetric$Companion$NullableType; + } +} + +final class $AggregateMetric$Companion$Type + extends jni$_.JObjType { + @jni$_.internal + const $AggregateMetric$Companion$Type(); + + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/aggregate/AggregateMetric$Companion;'; + + @jni$_.internal + @core$_.override + AggregateMetric$Companion fromReference(jni$_.JReference reference) => + AggregateMetric$Companion.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType get nullableType => + const $AggregateMetric$Companion$NullableType(); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override - int get hashCode => ($AggregateMetric_Companion$Type).hashCode; + @core$_.override + int get hashCode => ($AggregateMetric$Companion$Type).hashCode; - @_$core.override + @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($AggregateMetric_Companion$Type) && - other is $AggregateMetric_Companion$Type; + return other.runtimeType == ($AggregateMetric$Companion$Type) && + other is $AggregateMetric$Companion$Type; } } /// from: `androidx.health.connect.client.aggregate.AggregateMetric$Converter$FromDouble` -class AggregateMetric_Converter_FromDouble<$R extends _$jni.JObject> - extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType> $type; +class AggregateMetric$Converter$FromDouble<$R extends jni$_.JObject> + extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType> $type; - @_$jni.internal - final _$jni.JObjType<$R> R; + @jni$_.internal + final jni$_.JObjType<$R> R; - @_$jni.internal - AggregateMetric_Converter_FromDouble.fromReference( + @jni$_.internal + AggregateMetric$Converter$FromDouble.fromReference( this.R, - _$jni.JReference reference, - ) : $type = type(R), + jni$_.JReference reference, + ) : $type = type<$R>(R), super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/aggregate/AggregateMetric$Converter$FromDouble'); /// The type which includes information such as the signature of this class. - static $AggregateMetric_Converter_FromDouble$Type<$R> - type<$R extends _$jni.JObject>( - _$jni.JObjType<$R> R, + static $AggregateMetric$Converter$FromDouble$NullableType<$R> + nullableType<$R extends jni$_.JObject>( + jni$_.JObjType<$R> R, + ) { + return $AggregateMetric$Converter$FromDouble$NullableType<$R>( + R, + ); + } + + static $AggregateMetric$Converter$FromDouble$Type<$R> + type<$R extends jni$_.JObject>( + jni$_.JObjType<$R> R, ) { - return $AggregateMetric_Converter_FromDouble$Type( + return $AggregateMetric$Converter$FromDouble$Type<$R>( R, ); } /// Maps a specific port to the implemented interface. - static final _$core.Map _$impls = + static final core$_.Map _$impls = {}; - static _$jni.JObjectPtr _$invoke( + static jni$_.JObjectPtr _$invoke( int port, - _$jni.JObjectPtr descriptor, - _$jni.JObjectPtr args, + jni$_.JObjectPtr descriptor, + jni$_.JObjectPtr args, ) { return _$invokeMethod( port, - _$jni.MethodInvocation.fromAddresses( + jni$_.MethodInvocation.fromAddresses( 0, descriptor.address, args.address, @@ -25210,39 +26962,39 @@ class AggregateMetric_Converter_FromDouble<$R extends _$jni.JObject> ); } - static final _$jni.Pointer< - _$jni.NativeFunction< - _$jni.JObjectPtr Function( - _$jni.Int64, _$jni.JObjectPtr, _$jni.JObjectPtr)>> - _$invokePointer = _$jni.Pointer.fromFunction(_$invoke); + static final jni$_.Pointer< + jni$_.NativeFunction< + jni$_.JObjectPtr Function( + jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)>> + _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); - static _$jni.Pointer<_$jni.Void> _$invokeMethod( + static jni$_.Pointer _$invokeMethod( int $p, - _$jni.MethodInvocation $i, + jni$_.MethodInvocation $i, ) { try { final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); final $a = $i.args; } catch (e) { - return _$jni.ProtectedJniExtensions.newDartException(e); + return jni$_.ProtectedJniExtensions.newDartException(e); } - return _$jni.nullptr; + return jni$_.nullptr; } - static void implementIn<$R extends _$jni.JObject>( - _$jni.JImplementer implementer, - $AggregateMetric_Converter_FromDouble<$R> $impl, + static void implementIn<$R extends jni$_.JObject>( + jni$_.JImplementer implementer, + $AggregateMetric$Converter$FromDouble<$R> $impl, ) { - late final _$jni.RawReceivePort $p; - $p = _$jni.RawReceivePort(($m) { + late final jni$_.RawReceivePort $p; + $p = jni$_.RawReceivePort(($m) { if ($m == null) { _$impls.remove($p.sendPort.nativePort); $p.close(); return; } - final $i = _$jni.MethodInvocation.fromMessage($m); + final $i = jni$_.MethodInvocation.fromMessage($m); final $r = _$invokeMethod($p.sendPort.nativePort, $i); - _$jni.ProtectedJniExtensions.returnResult($i.result, $r); + jni$_.ProtectedJniExtensions.returnResult($i.result, $r); }); implementer.add( r'androidx.health.connect.client.aggregate.AggregateMetric$Converter$FromDouble', @@ -25254,120 +27006,188 @@ class AggregateMetric_Converter_FromDouble<$R extends _$jni.JObject> _$impls[$a] = $impl; } - factory AggregateMetric_Converter_FromDouble.implement( - $AggregateMetric_Converter_FromDouble<$R> $impl, + factory AggregateMetric$Converter$FromDouble.implement( + $AggregateMetric$Converter$FromDouble<$R> $impl, ) { - final $i = _$jni.JImplementer(); + final $i = jni$_.JImplementer(); implementIn($i, $impl); - return AggregateMetric_Converter_FromDouble.fromReference( + return AggregateMetric$Converter$FromDouble<$R>.fromReference( $impl.R, $i.implementReference(), ); } } -abstract base mixin class $AggregateMetric_Converter_FromDouble< - $R extends _$jni.JObject> { - factory $AggregateMetric_Converter_FromDouble({ - required _$jni.JObjType<$R> R, - }) = _$AggregateMetric_Converter_FromDouble; +abstract base mixin class $AggregateMetric$Converter$FromDouble< + $R extends jni$_.JObject> { + factory $AggregateMetric$Converter$FromDouble({ + required jni$_.JObjType<$R> R, + }) = _$AggregateMetric$Converter$FromDouble<$R>; - _$jni.JObjType<$R> get R; + jni$_.JObjType<$R> get R; } -final class _$AggregateMetric_Converter_FromDouble<$R extends _$jni.JObject> - with $AggregateMetric_Converter_FromDouble<$R> { - _$AggregateMetric_Converter_FromDouble({ +final class _$AggregateMetric$Converter$FromDouble<$R extends jni$_.JObject> + with $AggregateMetric$Converter$FromDouble<$R> { + _$AggregateMetric$Converter$FromDouble({ required this.R, }); - @_$core.override - final _$jni.JObjType<$R> R; + @core$_.override + final jni$_.JObjType<$R> R; } -final class $AggregateMetric_Converter_FromDouble$Type<$R extends _$jni.JObject> - extends _$jni.JObjType> { - @_$jni.internal - final _$jni.JObjType<$R> R; +final class $AggregateMetric$Converter$FromDouble$NullableType< + $R extends jni$_.JObject> + extends jni$_.JObjType?> { + @jni$_.internal + final jni$_.JObjType<$R> R; - @_$jni.internal - const $AggregateMetric_Converter_FromDouble$Type( + @jni$_.internal + const $AggregateMetric$Converter$FromDouble$NullableType( this.R, ); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/aggregate/AggregateMetric$Converter$FromDouble;'; - @_$jni.internal - @_$core.override - AggregateMetric_Converter_FromDouble<$R> fromReference( - _$jni.JReference reference) => - AggregateMetric_Converter_FromDouble.fromReference(R, reference); + @jni$_.internal + @core$_.override + AggregateMetric$Converter$FromDouble<$R>? fromReference( + jni$_.JReference reference) => + reference.isNull + ? null + : AggregateMetric$Converter$FromDouble<$R>.fromReference( + R, + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType?> get nullableType => + this; + + @jni$_.internal + @core$_.override + final superCount = 1; - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @core$_.override + int get hashCode => + Object.hash($AggregateMetric$Converter$FromDouble$NullableType, R); - @_$jni.internal - @_$core.override + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == + ($AggregateMetric$Converter$FromDouble$NullableType<$R>) && + other is $AggregateMetric$Converter$FromDouble$NullableType<$R> && + R == other.R; + } +} + +final class $AggregateMetric$Converter$FromDouble$Type<$R extends jni$_.JObject> + extends jni$_.JObjType> { + @jni$_.internal + final jni$_.JObjType<$R> R; + + @jni$_.internal + const $AggregateMetric$Converter$FromDouble$Type( + this.R, + ); + + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/aggregate/AggregateMetric$Converter$FromDouble;'; + + @jni$_.internal + @core$_.override + AggregateMetric$Converter$FromDouble<$R> fromReference( + jni$_.JReference reference) => + AggregateMetric$Converter$FromDouble<$R>.fromReference( + R, + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType?> get nullableType => + $AggregateMetric$Converter$FromDouble$NullableType<$R>(R); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override int get hashCode => - Object.hash($AggregateMetric_Converter_FromDouble$Type, R); + Object.hash($AggregateMetric$Converter$FromDouble$Type, R); - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == - ($AggregateMetric_Converter_FromDouble$Type<$R>) && - other is $AggregateMetric_Converter_FromDouble$Type<$R> && + ($AggregateMetric$Converter$FromDouble$Type<$R>) && + other is $AggregateMetric$Converter$FromDouble$Type<$R> && R == other.R; } } /// from: `androidx.health.connect.client.aggregate.AggregateMetric$Converter$FromLong` -class AggregateMetric_Converter_FromLong<$R extends _$jni.JObject> - extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType> $type; +class AggregateMetric$Converter$FromLong<$R extends jni$_.JObject> + extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType> $type; - @_$jni.internal - final _$jni.JObjType<$R> R; + @jni$_.internal + final jni$_.JObjType<$R> R; - @_$jni.internal - AggregateMetric_Converter_FromLong.fromReference( + @jni$_.internal + AggregateMetric$Converter$FromLong.fromReference( this.R, - _$jni.JReference reference, - ) : $type = type(R), + jni$_.JReference reference, + ) : $type = type<$R>(R), super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/aggregate/AggregateMetric$Converter$FromLong'); /// The type which includes information such as the signature of this class. - static $AggregateMetric_Converter_FromLong$Type<$R> - type<$R extends _$jni.JObject>( - _$jni.JObjType<$R> R, + static $AggregateMetric$Converter$FromLong$NullableType<$R> + nullableType<$R extends jni$_.JObject>( + jni$_.JObjType<$R> R, ) { - return $AggregateMetric_Converter_FromLong$Type( + return $AggregateMetric$Converter$FromLong$NullableType<$R>( + R, + ); + } + + static $AggregateMetric$Converter$FromLong$Type<$R> + type<$R extends jni$_.JObject>( + jni$_.JObjType<$R> R, + ) { + return $AggregateMetric$Converter$FromLong$Type<$R>( R, ); } /// Maps a specific port to the implemented interface. - static final _$core.Map _$impls = + static final core$_.Map _$impls = {}; - static _$jni.JObjectPtr _$invoke( + static jni$_.JObjectPtr _$invoke( int port, - _$jni.JObjectPtr descriptor, - _$jni.JObjectPtr args, + jni$_.JObjectPtr descriptor, + jni$_.JObjectPtr args, ) { return _$invokeMethod( port, - _$jni.MethodInvocation.fromAddresses( + jni$_.MethodInvocation.fromAddresses( 0, descriptor.address, args.address, @@ -25375,39 +27195,39 @@ class AggregateMetric_Converter_FromLong<$R extends _$jni.JObject> ); } - static final _$jni.Pointer< - _$jni.NativeFunction< - _$jni.JObjectPtr Function( - _$jni.Int64, _$jni.JObjectPtr, _$jni.JObjectPtr)>> - _$invokePointer = _$jni.Pointer.fromFunction(_$invoke); + static final jni$_.Pointer< + jni$_.NativeFunction< + jni$_.JObjectPtr Function( + jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)>> + _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); - static _$jni.Pointer<_$jni.Void> _$invokeMethod( + static jni$_.Pointer _$invokeMethod( int $p, - _$jni.MethodInvocation $i, + jni$_.MethodInvocation $i, ) { try { final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); final $a = $i.args; } catch (e) { - return _$jni.ProtectedJniExtensions.newDartException(e); + return jni$_.ProtectedJniExtensions.newDartException(e); } - return _$jni.nullptr; + return jni$_.nullptr; } - static void implementIn<$R extends _$jni.JObject>( - _$jni.JImplementer implementer, - $AggregateMetric_Converter_FromLong<$R> $impl, + static void implementIn<$R extends jni$_.JObject>( + jni$_.JImplementer implementer, + $AggregateMetric$Converter$FromLong<$R> $impl, ) { - late final _$jni.RawReceivePort $p; - $p = _$jni.RawReceivePort(($m) { + late final jni$_.RawReceivePort $p; + $p = jni$_.RawReceivePort(($m) { if ($m == null) { _$impls.remove($p.sendPort.nativePort); $p.close(); return; } - final $i = _$jni.MethodInvocation.fromMessage($m); + final $i = jni$_.MethodInvocation.fromMessage($m); final $r = _$invokeMethod($p.sendPort.nativePort, $i); - _$jni.ProtectedJniExtensions.returnResult($i.result, $r); + jni$_.ProtectedJniExtensions.returnResult($i.result, $r); }); implementer.add( r'androidx.health.connect.client.aggregate.AggregateMetric$Converter$FromLong', @@ -25419,124 +27239,194 @@ class AggregateMetric_Converter_FromLong<$R extends _$jni.JObject> _$impls[$a] = $impl; } - factory AggregateMetric_Converter_FromLong.implement( - $AggregateMetric_Converter_FromLong<$R> $impl, + factory AggregateMetric$Converter$FromLong.implement( + $AggregateMetric$Converter$FromLong<$R> $impl, ) { - final $i = _$jni.JImplementer(); + final $i = jni$_.JImplementer(); implementIn($i, $impl); - return AggregateMetric_Converter_FromLong.fromReference( + return AggregateMetric$Converter$FromLong<$R>.fromReference( $impl.R, $i.implementReference(), ); } } -abstract base mixin class $AggregateMetric_Converter_FromLong< - $R extends _$jni.JObject> { - factory $AggregateMetric_Converter_FromLong({ - required _$jni.JObjType<$R> R, - }) = _$AggregateMetric_Converter_FromLong; +abstract base mixin class $AggregateMetric$Converter$FromLong< + $R extends jni$_.JObject> { + factory $AggregateMetric$Converter$FromLong({ + required jni$_.JObjType<$R> R, + }) = _$AggregateMetric$Converter$FromLong<$R>; - _$jni.JObjType<$R> get R; + jni$_.JObjType<$R> get R; } -final class _$AggregateMetric_Converter_FromLong<$R extends _$jni.JObject> - with $AggregateMetric_Converter_FromLong<$R> { - _$AggregateMetric_Converter_FromLong({ +final class _$AggregateMetric$Converter$FromLong<$R extends jni$_.JObject> + with $AggregateMetric$Converter$FromLong<$R> { + _$AggregateMetric$Converter$FromLong({ required this.R, }); - @_$core.override - final _$jni.JObjType<$R> R; + @core$_.override + final jni$_.JObjType<$R> R; } -final class $AggregateMetric_Converter_FromLong$Type<$R extends _$jni.JObject> - extends _$jni.JObjType> { - @_$jni.internal - final _$jni.JObjType<$R> R; +final class $AggregateMetric$Converter$FromLong$NullableType< + $R extends jni$_.JObject> + extends jni$_.JObjType?> { + @jni$_.internal + final jni$_.JObjType<$R> R; - @_$jni.internal - const $AggregateMetric_Converter_FromLong$Type( + @jni$_.internal + const $AggregateMetric$Converter$FromLong$NullableType( this.R, ); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/aggregate/AggregateMetric$Converter$FromLong;'; - @_$jni.internal - @_$core.override - AggregateMetric_Converter_FromLong<$R> fromReference( - _$jni.JReference reference) => - AggregateMetric_Converter_FromLong.fromReference(R, reference); + @jni$_.internal + @core$_.override + AggregateMetric$Converter$FromLong<$R>? fromReference( + jni$_.JReference reference) => + reference.isNull + ? null + : AggregateMetric$Converter$FromLong<$R>.fromReference( + R, + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType?> get nullableType => + this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => + Object.hash($AggregateMetric$Converter$FromLong$NullableType, R); + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == + ($AggregateMetric$Converter$FromLong$NullableType<$R>) && + other is $AggregateMetric$Converter$FromLong$NullableType<$R> && + R == other.R; + } +} + +final class $AggregateMetric$Converter$FromLong$Type<$R extends jni$_.JObject> + extends jni$_.JObjType> { + @jni$_.internal + final jni$_.JObjType<$R> R; + + @jni$_.internal + const $AggregateMetric$Converter$FromLong$Type( + this.R, + ); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/aggregate/AggregateMetric$Converter$FromLong;'; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + AggregateMetric$Converter$FromLong<$R> fromReference( + jni$_.JReference reference) => + AggregateMetric$Converter$FromLong<$R>.fromReference( + R, + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType?> get nullableType => + $AggregateMetric$Converter$FromLong$NullableType<$R>(R); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override - int get hashCode => Object.hash($AggregateMetric_Converter_FromLong$Type, R); + @core$_.override + int get hashCode => Object.hash($AggregateMetric$Converter$FromLong$Type, R); - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == - ($AggregateMetric_Converter_FromLong$Type<$R>) && - other is $AggregateMetric_Converter_FromLong$Type<$R> && + ($AggregateMetric$Converter$FromLong$Type<$R>) && + other is $AggregateMetric$Converter$FromLong$Type<$R> && R == other.R; } } /// from: `androidx.health.connect.client.aggregate.AggregateMetric$Converter` -class AggregateMetric_Converter<$T extends _$jni.JObject, - $R extends _$jni.JObject> extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType> $type; +class AggregateMetric$Converter<$T extends jni$_.JObject, + $R extends jni$_.JObject> extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType> $type; - @_$jni.internal - final _$jni.JObjType<$T> T; + @jni$_.internal + final jni$_.JObjType<$T> T; - @_$jni.internal - final _$jni.JObjType<$R> R; + @jni$_.internal + final jni$_.JObjType<$R> R; - @_$jni.internal - AggregateMetric_Converter.fromReference( + @jni$_.internal + AggregateMetric$Converter.fromReference( this.T, this.R, - _$jni.JReference reference, - ) : $type = type(T, R), + jni$_.JReference reference, + ) : $type = type<$T, $R>(T, R), super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/aggregate/AggregateMetric$Converter'); /// The type which includes information such as the signature of this class. - static $AggregateMetric_Converter$Type<$T, $R> - type<$T extends _$jni.JObject, $R extends _$jni.JObject>( - _$jni.JObjType<$T> T, - _$jni.JObjType<$R> R, + static $AggregateMetric$Converter$NullableType<$T, $R> + nullableType<$T extends jni$_.JObject, $R extends jni$_.JObject>( + jni$_.JObjType<$T> T, + jni$_.JObjType<$R> R, ) { - return $AggregateMetric_Converter$Type( + return $AggregateMetric$Converter$NullableType<$T, $R>( + T, + R, + ); + } + + static $AggregateMetric$Converter$Type<$T, $R> + type<$T extends jni$_.JObject, $R extends jni$_.JObject>( + jni$_.JObjType<$T> T, + jni$_.JObjType<$R> R, + ) { + return $AggregateMetric$Converter$Type<$T, $R>( T, R, ); } /// Maps a specific port to the implemented interface. - static final _$core.Map _$impls = {}; - static _$jni.JObjectPtr _$invoke( + static final core$_.Map _$impls = {}; + static jni$_.JObjectPtr _$invoke( int port, - _$jni.JObjectPtr descriptor, - _$jni.JObjectPtr args, + jni$_.JObjectPtr descriptor, + jni$_.JObjectPtr args, ) { return _$invokeMethod( port, - _$jni.MethodInvocation.fromAddresses( + jni$_.MethodInvocation.fromAddresses( 0, descriptor.address, args.address, @@ -25544,39 +27434,39 @@ class AggregateMetric_Converter<$T extends _$jni.JObject, ); } - static final _$jni.Pointer< - _$jni.NativeFunction< - _$jni.JObjectPtr Function( - _$jni.Int64, _$jni.JObjectPtr, _$jni.JObjectPtr)>> - _$invokePointer = _$jni.Pointer.fromFunction(_$invoke); + static final jni$_.Pointer< + jni$_.NativeFunction< + jni$_.JObjectPtr Function( + jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)>> + _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); - static _$jni.Pointer<_$jni.Void> _$invokeMethod( + static jni$_.Pointer _$invokeMethod( int $p, - _$jni.MethodInvocation $i, + jni$_.MethodInvocation $i, ) { try { final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); final $a = $i.args; } catch (e) { - return _$jni.ProtectedJniExtensions.newDartException(e); + return jni$_.ProtectedJniExtensions.newDartException(e); } - return _$jni.nullptr; + return jni$_.nullptr; } - static void implementIn<$T extends _$jni.JObject, $R extends _$jni.JObject>( - _$jni.JImplementer implementer, - $AggregateMetric_Converter<$T, $R> $impl, + static void implementIn<$T extends jni$_.JObject, $R extends jni$_.JObject>( + jni$_.JImplementer implementer, + $AggregateMetric$Converter<$T, $R> $impl, ) { - late final _$jni.RawReceivePort $p; - $p = _$jni.RawReceivePort(($m) { + late final jni$_.RawReceivePort $p; + $p = jni$_.RawReceivePort(($m) { if ($m == null) { _$impls.remove($p.sendPort.nativePort); $p.close(); return; } - final $i = _$jni.MethodInvocation.fromMessage($m); + final $i = jni$_.MethodInvocation.fromMessage($m); final $r = _$invokeMethod($p.sendPort.nativePort, $i); - _$jni.ProtectedJniExtensions.returnResult($i.result, $r); + jni$_.ProtectedJniExtensions.returnResult($i.result, $r); }); implementer.add( r'androidx.health.connect.client.aggregate.AggregateMetric$Converter', @@ -25588,12 +27478,12 @@ class AggregateMetric_Converter<$T extends _$jni.JObject, _$impls[$a] = $impl; } - factory AggregateMetric_Converter.implement( - $AggregateMetric_Converter<$T, $R> $impl, + factory AggregateMetric$Converter.implement( + $AggregateMetric$Converter<$T, $R> $impl, ) { - final $i = _$jni.JImplementer(); + final $i = jni$_.JImplementer(); implementIn($i, $impl); - return AggregateMetric_Converter.fromReference( + return AggregateMetric$Converter<$T, $R>.fromReference( $impl.T, $impl.R, $i.implementReference(), @@ -25601,100 +27491,174 @@ class AggregateMetric_Converter<$T extends _$jni.JObject, } } -abstract base mixin class $AggregateMetric_Converter<$T extends _$jni.JObject, - $R extends _$jni.JObject> { - factory $AggregateMetric_Converter({ - required _$jni.JObjType<$T> T, - required _$jni.JObjType<$R> R, - }) = _$AggregateMetric_Converter; +abstract base mixin class $AggregateMetric$Converter<$T extends jni$_.JObject, + $R extends jni$_.JObject> { + factory $AggregateMetric$Converter({ + required jni$_.JObjType<$T> T, + required jni$_.JObjType<$R> R, + }) = _$AggregateMetric$Converter<$T, $R>; - _$jni.JObjType<$T> get T; - _$jni.JObjType<$R> get R; + jni$_.JObjType<$T> get T; + jni$_.JObjType<$R> get R; } -final class _$AggregateMetric_Converter<$T extends _$jni.JObject, - $R extends _$jni.JObject> with $AggregateMetric_Converter<$T, $R> { - _$AggregateMetric_Converter({ +final class _$AggregateMetric$Converter<$T extends jni$_.JObject, + $R extends jni$_.JObject> with $AggregateMetric$Converter<$T, $R> { + _$AggregateMetric$Converter({ required this.T, required this.R, }); - @_$core.override - final _$jni.JObjType<$T> T; + @core$_.override + final jni$_.JObjType<$T> T; - @_$core.override - final _$jni.JObjType<$R> R; + @core$_.override + final jni$_.JObjType<$R> R; } -final class $AggregateMetric_Converter$Type<$T extends _$jni.JObject, - $R extends _$jni.JObject> - extends _$jni.JObjType> { - @_$jni.internal - final _$jni.JObjType<$T> T; +final class $AggregateMetric$Converter$NullableType<$T extends jni$_.JObject, + $R extends jni$_.JObject> + extends jni$_.JObjType?> { + @jni$_.internal + final jni$_.JObjType<$T> T; - @_$jni.internal - final _$jni.JObjType<$R> R; + @jni$_.internal + final jni$_.JObjType<$R> R; - @_$jni.internal - const $AggregateMetric_Converter$Type( + @jni$_.internal + const $AggregateMetric$Converter$NullableType( this.T, this.R, ); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/aggregate/AggregateMetric$Converter;'; - @_$jni.internal - @_$core.override - AggregateMetric_Converter<$T, $R> fromReference(_$jni.JReference reference) => - AggregateMetric_Converter.fromReference(T, R, reference); + @jni$_.internal + @core$_.override + AggregateMetric$Converter<$T, $R>? fromReference( + jni$_.JReference reference) => + reference.isNull + ? null + : AggregateMetric$Converter<$T, $R>.fromReference( + T, + R, + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType?> get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => + Object.hash($AggregateMetric$Converter$NullableType, T, R); + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == + ($AggregateMetric$Converter$NullableType<$T, $R>) && + other is $AggregateMetric$Converter$NullableType<$T, $R> && + T == other.T && + R == other.R; + } +} + +final class $AggregateMetric$Converter$Type<$T extends jni$_.JObject, + $R extends jni$_.JObject> + extends jni$_.JObjType> { + @jni$_.internal + final jni$_.JObjType<$T> T; + + @jni$_.internal + final jni$_.JObjType<$R> R; + + @jni$_.internal + const $AggregateMetric$Converter$Type( + this.T, + this.R, + ); - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/aggregate/AggregateMetric$Converter;'; - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override + AggregateMetric$Converter<$T, $R> fromReference(jni$_.JReference reference) => + AggregateMetric$Converter<$T, $R>.fromReference( + T, + R, + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType?> get nullableType => + $AggregateMetric$Converter$NullableType<$T, $R>(T, R); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override - int get hashCode => Object.hash($AggregateMetric_Converter$Type, T, R); + @core$_.override + int get hashCode => Object.hash($AggregateMetric$Converter$Type, T, R); - @_$core.override + @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($AggregateMetric_Converter$Type<$T, $R>) && - other is $AggregateMetric_Converter$Type<$T, $R> && + return other.runtimeType == ($AggregateMetric$Converter$Type<$T, $R>) && + other is $AggregateMetric$Converter$Type<$T, $R> && T == other.T && R == other.R; } } /// from: `androidx.health.connect.client.aggregate.AggregateMetric` -class AggregateMetric<$T extends _$jni.JObject> extends _$jni.JObject { - @_$jni.internal - @_$core.override - final _$jni.JObjType> $type; +class AggregateMetric<$T extends jni$_.JObject> extends jni$_.JObject { + @jni$_.internal + @core$_.override + final jni$_.JObjType> $type; - @_$jni.internal - final _$jni.JObjType<$T> T; + @jni$_.internal + final jni$_.JObjType<$T> T; - @_$jni.internal + @jni$_.internal AggregateMetric.fromReference( this.T, - _$jni.JReference reference, - ) : $type = type(T), + jni$_.JReference reference, + ) : $type = type<$T>(T), super.fromReference(reference); - static final _class = _$jni.JClass.forName( + static final _class = jni$_.JClass.forName( r'androidx/health/connect/client/aggregate/AggregateMetric'); /// The type which includes information such as the signature of this class. - static $AggregateMetric$Type<$T> type<$T extends _$jni.JObject>( - _$jni.JObjType<$T> T, + static $AggregateMetric$NullableType<$T> + nullableType<$T extends jni$_.JObject>( + jni$_.JObjType<$T> T, + ) { + return $AggregateMetric$NullableType<$T>( + T, + ); + } + + static $AggregateMetric$Type<$T> type<$T extends jni$_.JObject>( + jni$_.JObjType<$T> T, ) { - return $AggregateMetric$Type( + return $AggregateMetric$Type<$T>( T, ); } @@ -25706,91 +27670,151 @@ class AggregateMetric<$T extends _$jni.JObject> extends _$jni.JObject { /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$Companion Companion` /// The returned object must be released after use, by calling the [release] method. - static AggregateMetric_Companion get Companion => - _id_Companion.get(_class, const $AggregateMetric_Companion$Type()); + static AggregateMetric$Companion get Companion => + _id_Companion.get(_class, const $AggregateMetric$Companion$Type()); static final _id_new$ = _class.constructorId( r'(Landroidx/health/connect/client/aggregate/AggregateMetric$Converter;Ljava/lang/String;Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;Ljava/lang/String;)V', ); - static final _new$ = _$jni.ProtectedJniExtensions.lookup< - _$jni.NativeFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.VarArgs< + static final _new$ = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< ( - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void> + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_NewObject') .asFunction< - _$jni.JniResult Function( - _$jni.Pointer<_$jni.Void>, - _$jni.JMethodIDPtr, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>, - _$jni.Pointer<_$jni.Void>)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); /// from: `public void (androidx.health.connect.client.aggregate.AggregateMetric$Converter converter, java.lang.String string, androidx.health.connect.client.aggregate.AggregateMetric$AggregationType aggregationType, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. factory AggregateMetric( - AggregateMetric_Converter<_$jni.JObject, $T> converter, - _$jni.JString string, - AggregateMetric_AggregationType aggregationType, - _$jni.JString string1, { - _$jni.JObjType<$T>? T, + AggregateMetric$Converter converter, + jni$_.JString string, + AggregateMetric$AggregationType aggregationType, + jni$_.JString? string1, { + jni$_.JObjType<$T>? T, }) { - T ??= _$jni.lowestCommonSuperType([ - (converter.$type as $AggregateMetric_Converter$Type).R, - ]) as _$jni.JObjType<$T>; - return AggregateMetric.fromReference( + T ??= jni$_.lowestCommonSuperType([ + (converter.$type as $AggregateMetric$Converter$Type) + .R, + ]) as jni$_.JObjType<$T>; + final _$converter = converter.reference; + final _$string = string.reference; + final _$aggregationType = aggregationType.reference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; + return AggregateMetric<$T>.fromReference( T, _new$( _class.reference.pointer, - _id_new$ as _$jni.JMethodIDPtr, - converter.reference.pointer, - string.reference.pointer, - aggregationType.reference.pointer, - string1.reference.pointer) + _id_new$ as jni$_.JMethodIDPtr, + _$converter.pointer, + _$string.pointer, + _$aggregationType.pointer, + _$string1.pointer) .reference); } } -final class $AggregateMetric$Type<$T extends _$jni.JObject> - extends _$jni.JObjType> { - @_$jni.internal - final _$jni.JObjType<$T> T; +final class $AggregateMetric$NullableType<$T extends jni$_.JObject> + extends jni$_.JObjType?> { + @jni$_.internal + final jni$_.JObjType<$T> T; - @_$jni.internal - const $AggregateMetric$Type( + @jni$_.internal + const $AggregateMetric$NullableType( this.T, ); - @_$jni.internal - @_$core.override + @jni$_.internal + @core$_.override String get signature => r'Landroidx/health/connect/client/aggregate/AggregateMetric;'; - @_$jni.internal - @_$core.override - AggregateMetric<$T> fromReference(_$jni.JReference reference) => - AggregateMetric.fromReference(T, reference); + @jni$_.internal + @core$_.override + AggregateMetric<$T>? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : AggregateMetric<$T>.fromReference( + T, + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType?> get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => Object.hash($AggregateMetric$NullableType, T); + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($AggregateMetric$NullableType<$T>) && + other is $AggregateMetric$NullableType<$T> && + T == other.T; + } +} - @_$jni.internal - @_$core.override - _$jni.JObjType get superType => const _$jni.JObjectType(); +final class $AggregateMetric$Type<$T extends jni$_.JObject> + extends jni$_.JObjType> { + @jni$_.internal + final jni$_.JObjType<$T> T; - @_$jni.internal - @_$core.override + @jni$_.internal + const $AggregateMetric$Type( + this.T, + ); + + @jni$_.internal + @core$_.override + String get signature => + r'Landroidx/health/connect/client/aggregate/AggregateMetric;'; + + @jni$_.internal + @core$_.override + AggregateMetric<$T> fromReference(jni$_.JReference reference) => + AggregateMetric<$T>.fromReference( + T, + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JObjType get superType => const jni$_.JObjectType(); + + @jni$_.internal + @core$_.override + jni$_.JObjType?> get nullableType => + $AggregateMetric$NullableType<$T>(T); + + @jni$_.internal + @core$_.override final superCount = 1; - @_$core.override + @core$_.override int get hashCode => Object.hash($AggregateMetric$Type, T); - @_$core.override + @core$_.override bool operator ==(Object other) { return other.runtimeType == ($AggregateMetric$Type<$T>) && other is $AggregateMetric$Type<$T> && diff --git a/experimental/pedometer/pubspec.yaml b/experimental/pedometer/pubspec.yaml index 659ff340d..d5b5211c8 100644 --- a/experimental/pedometer/pubspec.yaml +++ b/experimental/pedometer/pubspec.yaml @@ -10,12 +10,12 @@ dependencies: flutter: sdk: flutter plugin_platform_interface: ^2.1.8 - jni: ^0.12.0 + jni: ^0.13.0 ffi: ^2.1.2 dev_dependencies: ffigen: ^16.0.0 - jnigen: ^0.13.0 + jnigen: ^0.13.1 flutter_test: sdk: flutter flutter_lints: ^5.0.0