tlSetEnvironment static method
Implementation
static Future<void> tlSetEnvironment(
{required int screenWidth, required int screenHeight}) async {
try {
await _channel.invokeMethod(
'setenv', {'screenw': screenWidth, 'screenh': screenHeight});
} on PlatformException catch (pe) {
throw TealeafException(pe,
msg: 'Unable to send Flutter screen parameters message!');
}
}