Sambo Chea
649f25b265
- Split tests file - Fixed and nullable functions - Able to set or remove config from system config
19 lines
550 B
Dart
19 lines
550 B
Dart
import 'package:configurable/configuration_provider.dart';
|
|
|
|
/// Mutable Configuration Provider
|
|
///
|
|
/// @author sombochea
|
|
/// @since 1.0.3
|
|
abstract class MutableConfigurationProvider implements ConfigurationProvider {
|
|
/// Allow to set the value into config values
|
|
void set(String key, String? value);
|
|
|
|
/// Allow to set all values into config values
|
|
void setAll(Map<String, String?> configs);
|
|
|
|
/// Allow to remove the key from config values
|
|
void remove(String key);
|
|
|
|
/// Allow to remove all values from config values
|
|
void removeAll();
|
|
} |