get static method

Implementation

static Future<android_app_Activity> get() async {
  final result =
      await kMethodChannel.invokeMethod<Ref>('android.app.Activity::get');
  return android_app_Activity()..refId = result?.refId;
}