NativeApi constructor Null safety

NativeApi()