setInt method

void setInt(
  1. String key,
  2. int value
)

Set a value for the given key

Parameters

  • IN key The key
  • IN value The value

Throws

  • An exception if it fails

Implementation

void setInt(final String key, final int value) {
  objectMethod(
    _pointerId,
    'SettingsService',
    'setValueInt',
    args: <String, dynamic>{'first': key, 'second': value},
  );
}