JString.fromString constructor

JString.fromString(
  1. String s
)

Construct a JString from the contents of Dart string s.

Implementation

JString.fromString(String s)
    : super.fromReference(JGlobalReference(Jni.env.toJStringPtr(s)));