saveConfig abstract method
- T config
Abstract method to save the configuration data.
Implementations should serialize the configuration data of type T
and write it to the configuration file.
config
: The configuration data to save.
Implementation
Future<void> saveConfig(T config);