TransactionOptions constructor

TransactionOptions({
  1. TransactionOptions_ReadOnly? readOnly,
  2. TransactionOptions_ReadWrite? readWrite,
})

Implementation

factory TransactionOptions({
  TransactionOptions_ReadOnly? readOnly,
  TransactionOptions_ReadWrite? readWrite,
}) {
  final _result = create();
  if (readOnly != null) {
    _result.readOnly = readOnly;
  }
  if (readWrite != null) {
    _result.readWrite = readWrite;
  }
  return _result;
}