InputDeviceCapabilities constructor Null safety

InputDeviceCapabilities(
  1. [Map? deviceInitDict]
)

Implementation

factory InputDeviceCapabilities([Map? deviceInitDict]) {
  if (deviceInitDict != null) {
    var deviceInitDict_1 = convertDartToNative_Dictionary(deviceInitDict);
    return InputDeviceCapabilities._create_1(deviceInitDict_1);
  }
  return InputDeviceCapabilities._create_2();
}