saveConfig abstract method

Future<void> saveConfig(
  1. 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);