getProductConfigBoolean method Null safety

Future<bool?> getProductConfigBoolean(
  1. String key
)

Returns the parameter value for the given key as a boolean.

Implementation

static Future<bool?> getProductConfigBoolean(String key) async {
  return await _channel.invokeMethod('getBoolean', {'key': key});
}