create static method
CourierClient
create({
- required AuthProvider authProvider,
- required CourierConfiguration config,
- List<
MessageAdapter> messageAdapters = const <MessageAdapter>[BytesMessageAdapter(), JSONMessageAdapter()],
Implementation
static CourierClient create(
{required AuthProvider authProvider,
required CourierConfiguration config,
List<MessageAdapter> messageAdapters = const <MessageAdapter>[
BytesMessageAdapter(),
JSONMessageAdapter()
]}) {
return _CourierClientImpl(authProvider, config, messageAdapters);
}