updateRegistrarApiKey method

Future<AppConfig> updateRegistrarApiKey(
  1. String apiKey
)

Implementation

Future<AppConfig> updateRegistrarApiKey(String apiKey) async {
  final current = await load();
  return save(current.copyWith(registrarApiKey: apiKey));
}