AdditionalEnvMethods extension
- on
Methods
-
toDartString(
JStringPtr jstringPtr, {bool releaseOriginal = false}) → String -
Available on GlobalJniEnv, provided by the AdditionalEnvMethods extension
Convenience method for converting a JStringPtr to dart string. ifreleaseOriginal
is specified, jstring passed will be deleted using DeleteGlobalRef. -
toJStringPtr(
String s) → JStringPtr -
Available on GlobalJniEnv, provided by the AdditionalEnvMethods extension
Returns a new JStringPtr from contents ofs
.