AppDescriptor constructor
AppDescriptor({
- AuthnDescriptor? authn,
- ChainDescriptor? chain,
- CodecDescriptor? codec,
- ConfigurationDescriptor? configuration,
- QueryServicesDescriptor? queryServices,
- TxDescriptor? tx,
Implementation
factory AppDescriptor({
AuthnDescriptor? authn,
ChainDescriptor? chain,
CodecDescriptor? codec,
ConfigurationDescriptor? configuration,
QueryServicesDescriptor? queryServices,
TxDescriptor? tx,
}) {
final _result = create();
if (authn != null) {
_result.authn = authn;
}
if (chain != null) {
_result.chain = chain;
}
if (codec != null) {
_result.codec = codec;
}
if (configuration != null) {
_result.configuration = configuration;
}
if (queryServices != null) {
_result.queryServices = queryServices;
}
if (tx != null) {
_result.tx = tx;
}
return _result;
}