getDouble method

DoubleInput? getDouble(
  1. String name
)

Retrieves the double parameter input pattern with the provided key.

Implementation

DoubleInput? getDouble(String name) {
  try {
    return DoubleInput(_native.doubles.firstWhere((element) => element.key == name));
  } on StateError {
    return null;
  }
}