DittoConfigData constructor

DittoConfigData({
  1. required String apiKey,
  2. required String projectId,
  3. @Assert("Uri.tryParse(baseUrl) != null") @Default('https://api.dittowords.com') String baseUrl,
})

Class that contains Ditto configs

Implementation

factory DittoConfigData({
  required String apiKey,
  required String projectId,
  @Assert("Uri.tryParse(baseUrl) != null")
  @Default('https://api.dittowords.com')
      String baseUrl,
}) = _DittoConfigData;