setDouble method

void setDouble(
  1. String key,
  2. double value
)

Store a double value for key.

Parameters

  • key: The key to set.
  • value: The double value to store.

Also see:

  • getDouble: to retrieve a stored double value.

Implementation

void setDouble(final String key, final double value) {
  objectMethod(
    pointerId,
    'SettingsService',
    'setValueDouble',
    args: <String, dynamic>{'first': key, 'second': value},
  );
}