TestPlatform.fromNative constructor
Creates a TestPlatform with a copy of a given NativePlatform.
Creates a TestNativePlatform from nativePlatform,
as by TestNativePlatform.from, and a TestPlatform
with that as its Platform.nativePlatform.
Implementation
@visibleForTesting
TestPlatform.fromNative(NativePlatform nativePlatform)
: this._native(TestNativePlatform.from(nativePlatform));