AppTextsConsumer.fromConfiguration constructor

AppTextsConsumer.fromConfiguration(
  1. Map<String, String>? configuration
)

Implementation

factory AppTextsConsumer.fromConfiguration(
    Map<String, String>? configuration) {
  if (configuration == null) {
    throw 'App texts consumer requires a valid configuration to be set!';
  }
  return AppTextsConsumer(configuration);
}