setBool method
Store a bool value for key.
Parameters
key: The key to set.value: The boolean value to store.
Also see:
- getBool: to retrieve a stored boolean value.
Implementation
void setBool(final String key, final bool value) {
objectMethod(
pointerId,
'SettingsService',
'setValueBool',
args: <String, dynamic>{'first': key, 'second': value},
);
}