OursmsClient constructor

OursmsClient({
  1. required String key,
  2. required int userId,
  3. Dio? dio,
})

The client of the [Oursms] service.

note: to disable logging, change the [dio] parameter to your own instance with its different settings.

Implementation

OursmsClient({
  required this.key,
  required this.userId,
  Dio? dio,
}) {
  _dio = dio ?? _defaultDio;
  _oursmsService = OursmsService(_dio);
}