IndexDef constructor

IndexDef({
  1. CreateOnChainTransactionIndexRequest? onChain,
})

Implementation

factory IndexDef({
  CreateOnChainTransactionIndexRequest? onChain,
}) {
  final _result = create();
  if (onChain != null) {
    _result.onChain = onChain;
  }
  return _result;
}