getDouble method

DoubleOutput? getDouble(
  1. String name
)

Retrieves the double parameter output definition with the provided key.

Implementation

DoubleOutput? getDouble(String name) {
  try {
    if (modify) {
      return DoubleOutput(_nativeModify!.doubles.firstWhere((element) => element.key == name));
    } else {
      return DoubleOutput(_native!.doubles.firstWhere((element) => element.key == name));
    }
  } on StateError {
    return null;
  }
}